on 08-20-2007 6:56 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your recommendations!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.