How to re-install Java in Solaris 10

Dear all,
Let me first apologize if this is not the most suitable forum to post my enquiry (if so, please let me know which one is!). I have a SUN Blade 1500 Silver running Solaris 10. After some patching via smpatch, the Solaris Management Console stopped working, I believe due to a problem between java 1.5 and SMC (see problem "Can't start smc " at:
http://forum.sun.com/jive/thread.jspa?threadID=100328&messageID=342909 )
I tried to make the SMC work by tweaking the java path and links to point the old version (1.4.2), but without any success. Moreover, in a desperate effort to solve the problem, I DELETED all the directories, files and symbolic links relating to java under the directories "/usr" and "/usr/bin" (since I couldn't find on the internet a way to "uninstall" java from the system!), and then I tried to install the java packages available at www.sun.com (JRE, J2EE, etc) by using the .sh executables provided there, but without any success. All these installers seem to only unpack java files to complete different directories from the aforementioned (under the path from which they are run), and none seem to install the files in the original locations from which I deleted files ("/usr" and "/usr/bin", and the like).
Now, not only does the SMC continue to fail to work, but also any other application requiring java fails to excecute. IS THERE A WAY TO RESTORE THE ORIGINAL JAVA FILES THAT ARE COPIED IN THE SYSTEM WITH THE INSTALLATION OF THE SOLARIS OS??? Please note that I am not interested neither in the java plugin for browsers, nor in developing apps with/for java: I only want my system (SMC, smpatch, etc) and applications (mostly EDA software - Cadence) to run smoothly without receiving errors due to missing java files!
Thans a lot in advance for any help or clue to overcome this rather unpleasant situation.
Jorge Luis.

You should be able to just download the version that contains the Solaris packages and follow the installation instructions to use pkgadd to add those packages.
[Update: hmm it seems only the JDK is available that way not the JRE. It seems if you don't want to install the JDK (though there is no real reason not to) you'd need to reinstall the original packages from your Solaris install media - and you may need to remove any patches that updated the JRE, first.]
That said if you deleted some of the links then the package install may not necessarily restore them.
Here's my setup. Note I manually set the "latest" link. The default was that /usr/java linked to /usr/jdk/jdk1.5.0_07
hypert > dir /usr/bin/java
lrwxrwxrwx 1 root other 16 Dec 19 2005 /usr/bin/java -> ../java/bin/java
hypert > dir /usr/java
lrwxrwxrwx 1 root root 10 Aug 29 13:11 /usr/java -> jdk/latest
hypert > dir /usr/jdk
total 16
drwxr-xr-x 4 root bin 512 Aug 29 11:30 .
drwxr-xr-x 40 root sys 1024 Aug 29 13:11 ..
drwxr-xr-x 4 root bin 512 Aug 29 11:29 instances
lrwxrwxrwx 1 root other 7 Dec 19 2005 j2sdk1.4.2_08 -> ../j2se
lrwxrwxrwx 1 root other 18 Jun 2 09:47 jdk1.5.0_07 -> instances/jdk1.5.0
lrwxrwxrwx 1 root other 18 Aug 29 11:30 jdk1.6.0 -> instances/jdk1.6.0
lrwxrwxrwx 1 root other 8 Aug 29 11:30 latest -> jdk1.6.0
drwxr-xr-x 7 root bin 512 Dec 19 2005 packages
Message was edited by:
davidholmes

Similar Messages

  • How do I install java on my iPad 2

    How do I install java on my ipad2.  Pogo and games in yahoo need it to run the games.

    I found an AMAZING app on the App Store to do just this:
    It's called:
    Office, Flash & JAVA w/Chrome Browser, PDF Reader on a Virtual PC.
    Yes, I know, that is a very long name but that is what it shows in the App Store.

  • How do I install JAVA JVM, JServer and XDK in Oracle Express Ed database

    IF I query with SELECT COUNT(*) FROM all_objects WHERE object_type LIKE 'JAVA%'; I get a count of 0.
    I see no DBMS_JAVA package.
    How can I install JAVA JVM, JServer and XDK in the Oracle Express Edition database?
    I see no initjvm.sql, initxml.sql and xmlja.sql scripts. There are catjava.sql and catexf.sql scripts in the rdbms/admin folder.

    cssifah,
    Looks like you want this Web page:
    http://www.oracle.com/technology/products/database/xe/forum.html
    Good Luck,
    Avi.

  • I have mac os x 10.6.8. The system preferences doesn't show java at all. How can I install java please?

    Hi! 
    I have mac os x 10.6.8. The system preferences doesn't show java at all. How can I install java please?

    Don't change your story now. You did not say through Apple, you first gave a link to this site,
    http://www.java.com/en/download/apple.jsp
    You said, "Go there and download the latest version of Java"
    that plainly says,
    "Mac OS X Version 10.6 and below
    Use Software Update available on the Apple menu to check that you have the most up-to-date version of Java 6 for your Mac."
    This corroborates me saying that Java for Mac OS 10.6 is done through Software Update, no where else.
    If any Mac OS 10.6 user does not have Java on their Mac, they get it from Apple just as the link you provided shows it is from Apple. Not Oracle. You have provided the evidence that plainly contradicts yourself.
    This is your second link that is to Apple.
    http://support.apple.com/kb/DL1573
    Just to go over this again. Software Update not only updates Java to the latest, but if Java does not exist at all, SU will install it from scratch. And in doing so will be the latest version.
    Providing a link to Oracle's site is useless information that does not get Java installed on a Mac running 10.6.
    Message was edited by: roam

  • How do i install java 1.5 into powerbook G4

    How do I install java 1.5 into my powerbook G4 as I am trying to use a new internet modem?

    Under the Apple in the Menu, select Software Update. The Java update should appear as one of the items. Or go to this link http://support.apple.com/downloads/Java_for_Mac_OS_X_10_4__Release_9
    Your profile shows you are using Tiger 10.4. Have you updated to the final Tiger version of 10.4.11? If not, here's the link for the 10.4.11 combo update http://support.apple.com/kb/TA24901?viewlocale=en_US
     Cheers, Tom

  • HT4623 How can I install Java so I can print coupons. My IOS is updated to 6.1

    How can I install Java to print coupons. I have already updated my IOS to 6.1.

    As far as I know, you can't. Does your coupon place have an app? That's the best way to get things like that working on an iPad.

  • How do I install Java on my Windows Mobile?

    Hi there, I'm trying to install Java on my Mobile Phone but can't find the right file and don't know how to install it.
    This seems perfect but the link is way out of date and the file doesn't seem to exist anymore
    http://www.makeuseof.com/tag/install-java-windows-mobile/
    Does anyone know where I can get Java for my mobile phone? I have a m88 MiPhone with Windos Mobile 6.1 if that helps.
    Cheers

    If your phone vendor doesn't deliver a runtime with the phone or for download on their website, there is little chance you are going to get one.
    There are a few third party runtimes you can Google for, but most if not all viable ones are not free.

  • How do I install dual-boot Solaris 8 and Solaris 9 on one hard disk ?

    I tried to install Solaris 8 and Solaris 9 on same disk using CDs, but
    the second installation overwrote the first Solaris which was installed
    previoudly on the half-disk size partition of same disk.
    How do I install two Solarises on one hard disk ?
    Thanks
    Yakov

    There are no tricks to get Solaris to dual boot on the same drive. Just allocate and pick the free slices not used by the first Solaris install when you put in the second install. Technically speaking there is nothing preventing you from running seven separately bootable Solaris instances on the same drive (one of 8 available slices is overlap -- slice 2) provided you use a swap file on a root partition instead of reserving a whole slice for swap.

  • How could i install Java on my Mac OS X 10.6.8 ?

    Hello.
    First of all I am French so please excuse me for my English.
    I tried to install Java on my MAC but unfortunately the download of the software always meets the same problem... It asks me to be under mac OS X 10.7 but my computer does not propose me update. What should i do ?
    Thank you

    http://support.apple.com/kb/DL1360
    Note: Java 1.6 for Leopard is 64 bit only, but for Snow Leopard it is available for both 32 and 64 bit.
    http://www.roguish.com/blog/?p=266
    Since August 2012 updates for Java (and especially Java Runtime Environment, which is what you actually need) must now be downloaded direct from Oracle:
    http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.h tml
    Further information here:
    http://www.oracle.com/us/corporate/press/1735645
    and their FAQ’s:
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html
    However, if you need the Jave 6 JRE and plug-in, MadMAC0 has posted at
    https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182
    Apple has also posted (Oct 22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.
    Interesting article here on why Apple removed Mac browsers’ ability to run Jave Applets:
    http://www.techweekeurope.co.uk/news/apple-java-browser-mac-os-x-96827

  • Install Java on solaris x86

    Hello - I am connected to one Solaris x86 machine remotely. It does not have GUI in it and only command line execution. I would like to install Java on this machine. Can you please provide me the link where I can get java and instructions to install it - I surfed in previous topics - But no result found
    Thank you!

    Java is built-in.
    Or you can download a new version from java.sun.com on a different machine and then sftp it over to the Solaris box.

  • How do i install java games/apps

    downloaded a few things from ovi store but when installing it says something like internet settings must be able to accept java ( or something along those lines) 
    how can i install these games and apps ?

    go to apps and check settings select options settings and check that apps software installatio is set to all
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How can I install java framework manually?

    After deleting java folders how can I create java framework manually.

    macnewuser13 wrote:
    I am not worried about security issue.
    I just want to run Java Applet in any of my browsers.
    Our Application is should work in browser as an applet that is the first thing.
    Security is second issue.
    So please tell me which is the mininum Java Version I can install in Mac OS to avoid this security checking.
    If choose Snow Leopard also same issue it will have?
    I want to run Java Applet some how in any of Mac OS with any Java version above 1.6.0
    The Security issue is over (for now, but I'm confident it will be back).  You can safely update to either Java SE 7u15 at Oracle or Java for Mac OS X 10.6 Update 13 from Apple using Software Update or both. You can switch the browser plugin back and forth between the two by following these instructions that baltwo mentioned before.
    All the experts are telling us that Java for the browser is dead, so if you are involved in the development of such Applets, you need to find a different solution or a new job.

  • How do I install Java 6 on my Mac OS X 10.6.8?

    Just purchased a GoPro3 and it needs an important update, however my Mac keeps telling me to install Java 6, but when I go to my Mac Software Update it tells me everything is up to date.

    I got the same message when I updated my GoPro 3. Was pretty sure that everything was up to date on my Mac, but dowloaded it anyway. After the Java update was done the GoPro update worked.
    You might try doing the Java update from the link provided via the GoPro process and see if it works.
    Hope you enjoy your GoPro as much as I do!
    Nathan

  • How do I install java

    I purchased a new golf gps device that needs to be synced in order to register it.  When talking with support of the product they informed me that I would need to install java and adjust the preferences.  I continue to attempt this through spotlight but I continue to get errors or that it has been stopped by "peer"? 

    Get the latest from Apple here.

  • How do I install flash on solaris 5.10 x86?

    I can download it, but how do I install?

    Is that a PowerPC?  If so: What version of Flash Player should I use with my Power PC based Mac?

Maybe you are looking for

  • Real trouble trying to install Catalyst Legacy

    I'm kind of in trouble trying to install catalyst-total-hd234k package from the AUR using yaourt to achieve this, enabled the xorg112 package to downgrade, tried pacman directly and makepkg, same result It asks a lot of dependencies conflicting with

  • I lose internet when I disconnect Vonage

    Hello all! I recently discontinued Vonage VOIP. The setup was initially cable modem > vonage box > airport router. I have four mac set up on the airport network. When I remove the Vonage box and connect the Airport Extreme directly to the modem, I lo

  • Ical reminders move...

    Can anyone help me with a tangential issue.  While working with my reminders list on my Mac, I can't re-order items.  I have "sort reminders" on manual sorting, but they jump around anywhere.  If I move one, it jumps back, usually to a place differen

  • Create NRDM structure in dataservices

    Hi Experts, I am trying to create a NRDM structure in datasevices, to generate an XML file with tag and its attributes as per the below example. I am creating NRDM structure from a file as per below dig. This structure is giving the following XML out

  • Technical Name of Cube

    Dear All, Can we change the technical name of the Info cube. Please help me. Thanks, Saveen Kumar