Java (Temurin/OpenJDK)

Guidance last updated: 9 October 2026

Java is a programming language and computing platform first released by Sun Microsystems in 1995.

OpenJDK is an open-source implementation of Java.

Interactive Usage

After connecting to Stanage (see Establishing a SSH connection), start an interactive session:

salloc

You can then load a version of Java using one of the following:

module load Java/25.36
module load Java/23.0.2
module load Java/21.0.8
module load Java/11.0.27
module load Java/11.0.20

Check that you have the version you expect after loading the module. For example, with Java/25.36 loaded on an Icelake node, check the runtime:

module load Java/25.36
$ java -version
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)

Now, the compiler:

$ javac -version
javac 25

Installation notes

This section is primarily for administrators of the system.

Java was installed using Easybuild, build details can be found in $EBROOTJAVA/easybuild with a given module loaded.