IBM i - Java License Program
The IBM i platform supports multiple versions of the Java Development Kit (JDK).
If you are using IBM Technology for Java, you select which option to run by setting the JAVA_HOME environment variable.
This differs from the Classic JVM, which uses the java.version system property.
The following table lists the supported options:
Option |
JAVA_HOME |
Version |
Option 6 |
/QIBM/ProdData/Java400/jdk14 |
Classic 1.4 |
Option 7 |
/QIBM/ProdData/Java400/jdk15 |
Classic 1.5 (5.0) |
Option 8 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit |
IBM Technology for Java 5.0 32-bit |
Option 9 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk50/64bit |
IBM Technology for Java 5.0 64-bit |
Option 10 |
/QIBM/ProdData/Java400/jdk6 |
Classic 1.6 (6.0) |
Option 11 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit |
IBM Technology for Java 6 32-bit |
Option 12 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk60/64bit |
IBM Technology for Java 6 64-bit |
Option 13 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk14/64bit |
IBM Technology for Java 1.4 64-bit |
Option 14 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit |
IBM Technology for Java 7 32-bit |
Option 15 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk70/64bit |
IBM Technology for Java 7 64-bit |
Option 16 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk80/32bit |
IBM Technology for Java 8 32-bit |
Option 17 |
/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit |
IBM Technology for Java 8 64-bit |
Note: If you install only one JDK, the default JDK is the one you installed.
If you install more than one JDK, consult IBM documentation on the order of precedence.