Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-07-2012, 06:14 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2012
Location: Seoul
Posts: 1
Rep: 
|
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.
|
|
|
|
06-12-2012, 10:29 AM
|
#2
|
|
Member
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 681
Rep:
|
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.
|
|
|
1 members found this post helpful.
|
06-12-2012, 03:17 PM
|
#3
|
|
LQ Newbie
Registered: May 2012
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.
|
This is how I would do it as well
|
|
|
1 members found this post helpful.
|
06-12-2012, 05:06 PM
|
#4
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
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.
|
|
|
|
06-12-2012, 09:03 PM
|
#5
|
|
LQ Newbie
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22
Rep: 
|
Quote:
Originally Posted by jlliagre
moving/renaming /usr/java is unreliable
|
Care to elaborate on why it would be unreliable? Not being a smart ass, just curious is all.
|
|
|
|
06-13-2012, 02:15 AM
|
#6
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
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.
|
|
|
|
06-14-2012, 01:43 PM
|
#7
|
|
LQ Newbie
Registered: May 2012
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.
|
got it.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|