Attention

WARNING: From 8am on 30th June until 5pm on 4th July 2025, there will be no access to the Stanage HPC cluster.

We will try to minimise this downtime and it is possible that Stanage will return to service before 4th July. We will notify you by email when Stanage is back online and available for job submission.

Java (Temurin/OpenJDK)

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 with the following command:

srun --pty bash -i

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

module load Java/17.0.4
module load Java/11.0.20
module load Java/11.0.16
module load Java/11.0.2
module load Java/8.362

NB Java/11.0.2 is OpenJDK; Java/11.0.16 and newer are Eclipse Temurin, which is based on OpenJDK.

Check that you have the version you expect. First, the runtime:

$ java -version
openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8)
OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode, sharing)

Now, the compiler:

$ javac -version
javac 17.0.4

Installation notes

This section is primarily for administrators of the system. Java has been installed using the default Easybuild config files.

Build logs and test reports can be found in $EBROOTJAVA/easybuild with a given module loaded.