Java requirements

Important:
  • IBM® ADDI supports Java™ version 17. When you install IBM ADDI, make sure to uninstall any existing Java version that was installed if it is not a supported one. To ensure that IBM ADDI runs properly, you must install at least the minimum supported patch version 17.0.9 accordingly.
  • IBM ADDI Build Client runs only on the 64-bit JVM.
  • 64-bit AdoptOpenJDK Java 17 - https://adoptium.net/temurin/releases/
    Important:
    • Make sure to download the JDK version of AdoptOpenJDK for the target platform.
    • Make sure that Set JAVA_HOME variable and JavaSoft (Oracle) registry keys subfeatures are selected when you install AdoptOpenJDK Development Kit with Hotspot.
      Set up JAVA with Hotspot
      Set up JAVA with Hotspot
  • 64-bit Java 17 from Oracle, go to https://www.oracle.com/java/technologies/downloads/#java17.
    Important: Make sure that the system variable JAVA_HOME is added and the value of the JAVA_HOME is correct when you install Oracle Java.
  • 64-bit Java 17 from IBM - https://developer.ibm.com/languages/java/semeru-runtimes/downloads/?license=IBM
    Note:
    • On Windows
      If no .MSI executable file for Java is available, extract the contents of the downloaded archive file and set the Java path in Windows Registry by completing the following steps.
      Important: IBM ADDI installer is looking in Windows Registry to find the IBM Java path. Use extreme caution when you edit the Windows Registry. Incorrect edits can render your computer unusable.
      1. Create the following path: Computer > HKEY_LOCAL_MACHINE > SOFTWARE > JavaSoft > JDK > 17.
      2. Right-click 17, and then select New > String Value.
      3. Rename New Value #1 to JavaHome.
      4. Right-click JavaHome, and then select Modify.
      5. In Value data, enter the path to the extracted IBM Java folder.
        Figure 1. IBM Java path
        This image shows the IBM Java path.
        Note: jdk-17.0.12.7-openj9 represents the IBM Java version that is used during the installation process.
      6. If you installed IBM Semeru and need to use Db2® for LUW and test the connection on the relational database page, go to Start > System > Advanced Settings > Environment Variables > System variables, and click New. Then, enter JAVA_TOOL_OPTIONS in the Variable name field, enter -Dcom.ibm.jsse2.sp800-131=strict in the Variable value field, and click OK.
      7. Restart the Windows machine so that the changes can take effect.
Important:
  • To ensure that the path for Java instance is set at the beginning of the PATH system environment variable in your system, follow these steps:
    1. Go to Start > System > Advanced Settings > Environment Variables > System variables.
    2. Locate the Path variable and click Edit.
    3. Add the path to the Java installation folder, including the bin folder. For example, C:\Program Files\Java\jdk-17.0.9\bin.
    4. If the path is already created, make sure to place the Java instance path at the beginning of the list. Then, click Ok to save the changes.

    By this setting, you can ensure that your system prioritizes the specified Java installation.

  • To ensure the consistency between the installed Java version in Environment Variables > System Variables and the Java version in the JavaHome key of Registry Editor, follow the description below.
    • To find the Java version that is associated with the PATH variable, click System Properties > Advanced > Environment Variables > System Variables. (This should be found on the first row in the top of the list as shown below.)
      Ave variable path
    • To find the Java version that is associated with the JavaHome string, click Windows Registry Editor > Computer > HKEY_LOCAL_MACHINE > SOFTWARE > JavaSoft > JDK.
      JavaHome path