Support for multiple Java Development Kits (JDKs)
The IBM® i platform supports multiple versions of the Java™ Development Kits (JDKs) and the Java 2 Platform, Standard Edition.
IBM i supports using multiple JDKs simultaneously, but only through multiple Java virtual machines. A single Java virtual machine runs one specified JDK. You can run one Java virtual machine per job.
Find the JDK that you are using or want to use, and select the coordinating option to install. See Installing Java on your IBM i server to install more than one JDK at one time.
When using IBM Technology for Java, you select which 5761-JV1 option to run (and therefore which JDK/bit mode) by setting the JAVA_HOME environment variable. Once a Java virtual machine is up and running, changing the JAVA_HOME environment variable has no effect.
The following table lists the supported options for this release.
5761-JV1 options | JAVA_HOME | java.version | |
---|---|---|---|
Option 8 - IBM Technology for Java 5.0 32-bit | /QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit | 1.5 | |
Option 9 - IBM Technology for Java 5.0 64-bit | /QOpenSys/QIBM/ProdData/JavaVM/jdk50/64bit | 1.5 | |
Option 11 - IBM Technology for Java 6 32-bit | /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit | 1.6 | |
Option 12 - IBM Technology for Java 6 64-bit | /QOpenSys/QIBM/ProdData/JavaVM/jdk60/64bit | 1.6 | |
![]() ![]() |
![]() ![]() |
![]() ![]() |
|
![]() ![]() |
![]() ![]() |
![]() ![]() |
|
![]() ![]() |
![]() ![]() |
![]() ![]() |
The default JDK chosen in this multiple JDK environment depends on which 5761-JV1 Options are installed. The following table gives some examples. You can access IBM Technology for Java JDKs by setting the JAVA_HOME environment variable, or by specifying a fully qualified path to the Java tool or utility located in the JDK you want to use.
Install | Enter | Result |
---|---|---|
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() ![]() |

- Option 11 - IBM Technology for Java 6 32-bit
- Option 12 - IBM Technology for Java 6 64-bit
- Option 8 - IBM Technology for Java 5.0 32-bit
- Option 9 - IBM Technology for Java 5.0 64-bit
- Option 14 - IBM Technology for Java 7.0 32-bit
- Option 15 - IBM Technology for Java 7.0 64-bit
- Option 13 - IBM Technology for Java 1.4.2 64-bit
