Attention
WARNING: From 9am on 19th August until 5pm on 2nd September there will be no access to the Stanage HPC cluster.
We will send an email to notify you when Stanage is back online and available for job submission.
Attention
The ShARC HPC cluster was decommissioned on the 30th of November 2023 at 17:00. It is no longer possible for users to access that cluster.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995.
Interactive Usage
After connecting to ShARC (see Establishing a SSH connection), start an interactive session with the qrsh or qrshx command.
Java can be activated using one of the following module files
module load apps/java/17.0.4/binary
module load apps/java/13.0.2/binary
module load apps/java/11.0.2/binary
module load apps/java/jdk1.8.0_102/binary
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
These are primarily for administrators of the system.
Java 1.8.0_102
Download Java SE Development Kit 8u102 from Oracle. Select the tarball (
jdk-8u102-linux-x64.tar.gz
) for Linux and the x64 CPU architecture family.Save this file to
/usr/local/media/java/1.8.0_102/
.Install Java using
this script
.Install
this modulefile
as/usr/local/modulefiles/apps/java/jdk1.8.0_102/binary