Skip to content

openjdk: Open-source implementation of Java

Overview of package

Package: openjdk
Description: Open-source implementation of Java
For more information: https://openjdk.java.net/
Categories: SoftwareDevelopment
License: OpenSource (GPLv2)

General Usage

OpenJDK is an open source implementation of the Java Development Kit (JDK). It includes a Java virtual machine, the Java Class Library, and a java compiler.

This module will add the commands java, javac, javadoc, jar, etc. to your path.

In case you need to link against this library in your code, the following environmental variables have been defined:

  • $OPENBLAS_ROOT has been set to the root of the openjdk installation
  • $OPENBLAS_LIBDIR points to the directory containing the libraries
  • $OPENBLAS_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$OPENBLAS_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$OPENBLAS_LIBDIR -Wl,-rpath,$OPENBLAS_LIBDIR

Available versions by cluster

This section lists the available versions of the package openjdkon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
11.0.2 11.0.2 zen Yes
17.0.3_7 17.0.3_7 zen2 Yes
11.0.20.1_1 11.0.20.1_1 icelake, x86_64, zen2 Yes
17.0.8.1_1 17.0.8.1_1 icelake, x86_64, zen2 Yes
11.0.12_7 11.0.12_7 x86_64, zen2 Yes