Operating System - HP-UX
1834215 Members
2338 Online
110066 Solutions
New Discussion

upgrading java1.2 to java1.3

 
SOLVED
Go to solution
Jason_309
Regular Advisor

upgrading java1.2 to java1.3

I am currently running java1.2 on a HP-UX 11.11 and need to uprade the java version from 1.2 to 1.3. Can someone tell me the best way to do this?
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: upgrading java1.2 to java1.3

Jason,

First, why not 1.4?

Anyway, download the software from here:

http://www.hp.com/products1/unix/java/

Then run swinstall interactively, select the downloaded java depot, then under Actions, click on Change Product Location so you can check to see where it installs. I believe it will install under /opt/java1.3. If not, change it so it doesn't overlay your existing 1.2 install. After testing you can go back and swremove the 1.2 version.


Pete

Pete
Jason_309
Regular Advisor

Re: upgrading java1.2 to java1.3

Thank you.
Slawomir Gora
Honored Contributor

Re: upgrading java1.2 to java1.3

Hi,

you can have both java versions - just install new version it will be located in /opt/java1.3 directory.

If you want you can use swremove to remove old java1.2 software.
Robert Bennett_3
Respected Contributor

Re: upgrading java1.2 to java1.3

If you want to add different java versions:

swinstall java - it will install as /opt/java1.3

move this version:
mv /opt/java1.3 /opt/java1.3.1.02 (version you get from /opt/java1.3/bin java -version)
swinstall new version

mv versions around - whatever version you have in /opt/java1.3 is the one being used.
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
Jason_309
Regular Advisor

Re: upgrading java1.2 to java1.3

I thank everyone for there help.