To install java in solaris sparcv9 and removing the preinstalled java versions
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To install java in solaris sparcv9 and removing the preinstalled java versions
Dear all,
Good evening.
I have to install Java version 7 in 64 bit sparcv9 processor run solaris system. please help me with the complete procedures for the same and as its been mentioned in the java website, self extracting binary (.sh file) is needed for the same. Even after untar of the downloaded tar.gz i am not able to get the .sh file.
please help me.
Thanks in anticipation.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Don't know if it's the "correct" way to do it or not, but I just extracted the new java into /usr so I would have a /usr/jdk.x.x.x directory containing the new jdk then I would mv /usr/java /usr/java.orig and then link my new java to the original link ln -s /usr/jdk.x.x.x /usr/java and verify with java -version that I was using the correct version. You can also just modify your path so the new java version bin is first.
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22
Rep:
Quote:
Originally Posted by Blinker_Fluid
Don't know if it's the "correct" way to do it or not, but I just extracted the new java into /usr so I would have a /usr/jdk.x.x.x directory containing the new jdk then I would mv /usr/java /usr/java.orig and then link my new java to the original link ln -s /usr/jdk.x.x.x /usr/java and verify with java -version that I was using the correct version. You can also just modify your path so the new java version bin is first.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
moving/renaming /usr/java is unreliable and would make the system unsupported. The JVM installed with the OS shouldn't be altered. If you want a different version, just install it elsewhere and either call it explicitly of adjust you PATH.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
I just mean you should never change a file belonging to the OS, outside of course those designed to be editable like configuration files. Any Solaris update or patch operation might silently reverse your changes.
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22
Rep:
Quote:
Originally Posted by jlliagre
I just mean you should never change a file belonging to the OS, outside of course those designed to be editable like configuration files. Any Solaris update or patch operation might silently reverse your changes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.