Java is available on the cluster. Activate java by loading the Java module

$ ml Java

Note that the Java module must be loaded on the compute nodes as well, in order to run java on compute nodes.

Check for java version and path

$ java -version
$ which java

With the module loaded, not only the runtime environment (JRE), but also the development environment (JDK) with the compiler is available.

$ javac -version
$ which javac

Java applications may use MPI for inter-process communication, in conjunction with Open MPI. Read more on This functionality is currently not supported on Anselm cluster. In case you require the java interface to MPI, please contact cluster support.