cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple JDKs in single OS

Former Member
0 Kudos

I am using IBM i-series DB2. Can we have mutiple JDK's in same OS? How this can be supported.

Can we have envt variables in the specific SIDs?

Requirement -

PI u2013 JDK 1.5 Windows 32 bit

EP u2013 JDK 1.4.2 Windows 64 bit

ECC u2013 JDK 1.4.2 64 bit

Thanks,

Dhanz

Accepted Solutions (1)

Accepted Solutions (1)

former_member524429
Active Contributor
0 Kudos

Hi,

PI u2013 JDK 1.5 Windows 32 bit
EP u2013 JDK 1.4.2 Windows 64 bit
ECC u2013 JDK 1.4.2 64 bit

Different SID will have different <SID>adm users. you can install different jdks at different different locations and then u can set JAVA_HOME and PATH variables at <SID>adm User level instead of System Level.

For J2ee Engine , the parameter jstartup/vm/home = <location of the jdk> setting in instance profile has precedence over individual JDK settings in the J2EE Engine configuration database and the sdm_jstartup.properties. Please refer SAP Note 718901 - How to Change the JDK of the J2EE Engine to get more info.

SDM gets the JVM location from property file sdm_jstartup.properties instead of DB.

JDK for the Visual Admin, ConfigTool, and SDM GUI still have to be changed separately.

During Installation of SAP System You can set system wide JAVA_HOME and PATH variables.

Regards,

Bhavik G. Shroff

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the response.

Former Member
0 Kudos

Hi,

the correct JDK for an SAP system is automatically set/installed during the installation process and profile parameters, e.g. jstartup/vm/home are set accordingly.

For SAP Systems that require a JDK 1.4 (e.g. all Systems that run on an SAP Basis < 7.10), we recommend the IT4J(J9) JVM that is available with IBM i release 6.. See SAP note 1161275.

SAP systems on Basis >= 7.10 will install the SAP JVM 1.5 and set up the environment accordingly.

For the <SID>ADM/<SID>OFR users, the environment variable JAVA_HOME will be set to the SAP system's JDK.

Best regards,

Christoph