Your iSeries™ server supports multiple versions of the Java™ Development Kits (JDKs) and the Java 2 Software Development Kit (J2SDK), Standard Edition.
Your iSeries server supports using multiple JDKs simultaneously, but only through multiple Java virtual machines. A single Java virtual machine runs one specified JDK.
Find the JDK that you are using or want to use, and select the coordinating option to install. See Install IBM Developer Kit for Java to install more than one JDK at one time. The java.version system property determines which JDK to run. Once a Java virtual machine is up and running, changing the java.version system property has no effect.
Note: In V5R3 and later, the following options are no longer available: Option 1 (JDK 1.1.6), Option 2 (JDK 1.1.7), Option 3 (JDK 1.2.2), and Option 4 (JDK 1.1.8). The following table lists the supported J2SDKs for this release.
Option | JDK | java.home | java.version |
---|---|---|---|
5 | 1.3 | /QIBM/ProdData/Java400/jdk13/ | 1.3 |
6 | 1.4 | /QIBM/ProdData/Java400/jdk14/ | 1.4 |
7 | 1.5 (also referred to as J2SE 5.0) | /QIBM/ProdData/Java400/jdk15/ | 1.5 |
The default JDK chosen in this multiple JDK environment depends on which 5722-JV1 Options are installed. The following table gives some examples.
Install | Enter | Result |
---|---|---|
Option 5 (1.3) | java Hello | J2SDK, Standard Edition, version 1.3 runs. |
Option 6 (1.4) | java Hello | J2SDK, Standard Edition, version 1.4 runs. |
Option 5 (1.3) and Option 6 (1.4) | java Hello | J2SDK, Standard Edition, version 1.4 runs. |