Skip to content
Snippets Groups Projects

Java

Java on ANSELM

Java is available on Anselm 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 OpenMPI. Read more on http://www.open-mpi.org/faq/?category=java. This functionality is currently not supported on Anselm cluster. In case you require the java interface to MPI, please contact Anselm support.