Download Red Hat build of OpenJDK for RHEL for other forms of Linux

The Red Hat build of OpenJDK is an open source implementation of the Java Platform, Standard Edition (Java SE).

Other Linux

Red Hat build of OpenJDK is available only on Windows and RHEL.
However, there’s Eclipse Temurin, a version of OpenJDK that Red Hat actively contributes to that’s available for other environments. This will require Eclipse Adoptium apt repository to be added to the environments. See here for more information about adding the repositories.

Debian/Ubuntu - Install the latest LTS version:

apt-get install temurin-21-jdk


CentOS/RHEL/Fedora - Install the latest LTS version:

yum install temurin-21-jdk


openSUSE/SLES - Install the latest LTS version:

zypper install temurin-21-jdk


Alternate Options: 

SDKMAN:

sdk install java 21.0.4-tem