Operating System - HP-UX
1847358 Members
3646 Online
110264 Solutions
New Discussion

Re: installing 2 j2sdk on same machine

 
SOLVED
Go to solution
Zulfikri
Advisor

installing 2 j2sdk on same machine

Hi ppl, is there a way i could install 2 version of j2sdk on same machine?

I need ver. 1.4.0 and 1.4.1 to be installed by swinstall. I could not since it has some filesets errors.

Hope can help and my many thanks in advance.

Zul
Beware GATE$ of HELL!!
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: installing 2 j2sdk on same machine

Zul,

I believe they will automatically install to different directories, i.e. /opt/java1.4.0 and /opt/java1.4.1 or something like that. If not, simply install the first into /opt/java, then move it with mv /opt/java /opt/java1.4.0. Then install the second and move it with mv /opt/java /opt/java1.4.1. Make sure which one your path points to at any given time and you can use either one whenever you want.


Pete

Pete
KapilRaj
Honored Contributor

Re: installing 2 j2sdk on same machine

I would download the source code from java.org and compile it locally under two diff path as follows

./configure -prefix /opt/java?? and ./configure -prefix /opt/java??

Kaps
Nothing is impossible
Zulfikri
Advisor

Re: installing 2 j2sdk on same machine



dear all,

I cant install j2sdk 1.4.0 with the existing 1.4.1 since during analyst phase, it has error.


zul
Beware GATE$ of HELL!!
Pete Randall
Outstanding Contributor
Solution

Re: installing 2 j2sdk on same machine

The change the options during swinstall to "allow multiple versions" or "lower versions" or "incompatible versions" or whatever they call it and try again. If you're using the gui swinstall, just click on "options" > "change options" > then click on both of the "reinstall" options, the "allow installation of lower version than current" and the "allow installation of incompatible software". That will allow your install to proceed.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: installing 2 j2sdk on same machine

Oops, make that "Then change . . . ."

Pete