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:
- Download the OpenJDK 21 Windows x64 zip to a temporary folder.
- Unzip the OpenJDK zip file within the temporary folder.
- Create a new folder C:\Program Files\Java.
- Copy the jdk-21 folder from the temporary folder under C:\Program Files\Java.
- Create a system environment variable JAVA_HOME set to C:\Program Files\Java\jdk-21.
- Add %JAVA_HOME%\bin to the start of the PATH system environment variable.
- Open a new command prompt window.
-
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)
- Download the OpenJDK 21 Linux x64 tarball.
- Unpack the Open JDK tarball.
tar xvzf openjdk-21+35_linux-x64_bin.tar.gz
- Copy the jdk-21 folder from the temporary folder under /usr/lib/java.
- Within the login shell (e.g. $HOME/.bash_profile):
- Create an environment variable for JAVA_HOME set to /usr/lib/java/jdk-21.
- Add $JAVA_HOME/bin to the start of the PATH environment variable.
- Open a new shell window.
-
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: