cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple JDK versions on same OS (AIX)

Former Member
0 Kudos

Hi,

We have the Dev and QA systems on one server. I want to upgrade the JDK on only the Dev system, without affecting the QA system. Do I only have to change the user env variable JAVA_HOME? What about PATH?

Does someone know if it is possible to install multiple JDK versions on one OS and do you have some tips?

Regards,

CJ

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Eric has a good idea. I'll add another.

You could create a symbolic link to the new java version also, and use this to point to your JAVA_HOME for devadm.

We have a Solaris admin who installs all java versions on the box, then uses symbolic links (aka aliases) for mapping purposes such as this.

Hope this helps,

Tim

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your recommendations!

0 Kudos

Assuming you are running the J2EE stack: you can set the parameter "jstartup/vm/home" in the SAP instance profile /sapmnt/SID/profile/SID_JC00_host.

Example:

jstartup/vm/home = /usr/java14_64

That way you can have a different Java home for each SAP J2EE instance.

HTH,

Henning Sackewitz

former_member204746
Active Contributor
0 Kudos

you need these:

install each JDK in their own directory

change paths for each [sid]adm (JAVA_HOME and user PATHS)

if the system path contains JDK paths, take it out of there and put it in each user paths.

good luck.