I have been tasked with upgrading java on one of our boxes to version 6.0 or later (package version 1.5 or later someone told me). but ive been trying to find the SUNW package for this and cant see it, so I checked pkginfo for installed package and there isnt one ....even though java is installed eg
but .....
Does anybody know how I go about upgrading this? and do i need to uninstall the old one before installing the new ??
Under no circumstances should you remove a major version of java delivered with the OS. Replacing 1.3.1_10 with 1.3.1_13 would be ok, but if there is a version delivered with the OS (1.3.1), make sure you keep it, some of the core tools require specific versions.
Java is not normally released as a package, so you will not find a SUNW upgrade, even if the versions supplied with the OS are delivered that way.
usually jdks are located in /usr/java<version> so I would suggest that you put it there, creating a new directory for the version you are installing.
1) where would i get the files i need and in what form would they take (ie will i have to compile source etc)
2) when I have installed the new version (alongside the old one but in a different directory) would I then be able to softlink the /usr/bin/java link which is currently pointing to .....(see below)
to the location of the new binary or would i just create a new link altogether leaving the current links and binaries completely as they were ???
1) where would i get the files i need and in what form would they take
java.sun.com
I havn't looked recently but IIRC, there is a self extracting binary and a binary tarball.
Quote:
...current links and binaries completely as they were ???
leave the links alone, let those who need to use the new version use the full path, or depending on their applications set the reference variable ( often JAVA_HOME or JRE_HOME or JDK_HOME)
I havn't looked recently but IIRC, there is a self extracting binary and a binary tarball.
Quote:
...current links and binaries completely as they were ???
leave the links alone, let those who need to use the new version use the full path, or depending on their applications set the reference variable ( often JAVA_HOME or JRE_HOME or JDK_HOME)
I have java installed on my solaris 10 as /usr/jdk/jdk1.5.0 , but i need to install Weblogic for that i need --
JDK Sun Java 2 JDK 6.0 Update 05 with the Java HotSpot™ Client and Server
VMs (32-bit) and all later service packs of 6.0
How can i upgrade my java for this. (3 Replies)
Hi, I have got java 1.4.1 in my unix server, i wish to upgrade it to 1.4.2 version. I know how to do that in Windows, but it is the first time i am doing it in UNIX. Please tell me how to do it from command line?
Are there any environment variable to be set in unix as in windows?
Thanks in... (0 Replies)