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. |
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.
|
Quote:
|
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.
|
Quote:
|
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.
|
Quote:
|
All times are GMT -5. The time now is 04:14 AM. |