Certified version

The certified Java Runtime Environment (JRE) for AEMO Data Interchange applications is OpenJDK 21.

The published binary images can be found at https://jdk.java.net/java-se-ri/21.

Other distributions of the JRE may also work. Participants who choose an alternate JRE must first validate AEMO's Data Interchange applications operate correctly in a non-production environment before deploying to production.

Installing on Windows

Make sure your account has the correct privileges. Some actions require administrator access.

To install:

  1. Download the OpenJDK 21 Windows x64 zip to a temporary folder.
  2. Unzip the OpenJDK zip file within the temporary folder.
  3. Create a new folder C:\Program Files\Java.
  4. Copy the jdk-21 folder from the temporary folder under C:\Program Files\Java.
  5. Create a system environment variable JAVA_HOME set to C:\Program Files\Java\jdk-21.
  6. Add %JAVA_HOME%\bin to the start of the PATH system environment variable.
  7. Open a new command prompt window.
  8. Validate the JRE installation is Open JDK 21 by running the following in a command prompt:

    java -version

    The response should be similar to:

    openjdk version "21" 2023-09-19
    OpenJDK Runtime Environment (build 21+35-2513)
    OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)

    Installing on Linux

    Make sure your account has the correct privileges. Some actions require administrator access.

    These installation steps are a guide. You may need to configure them based on your specific Linux distribution:

  1. Download the OpenJDK 21 Linux x64 tarball.
  2. Unpack the Open JDK tarball.

    tar xvzf openjdk-21+35_linux-x64_bin.tar.gz

  3. Copy the jdk-21 folder from the temporary folder under /usr/lib/java.
  4. Within the login shell (e.g. $HOME/.bash_profile):
  5. Create an environment variable for JAVA_HOME set to /usr/lib/java/jdk-21.
  6. Add $JAVA_HOME/bin to the start of the PATH environment variable.
  7. Open a new shell window.
  8. Validate the JRE installation is Open JDK 21 by running the following in a command prompt:

    java -version

    The response should be similar to:

    openjdk version "21" 2023-09-19
    OpenJDK Runtime Environment (build 21+35-2513)
    OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)