OpenJDK JDK 21.0.2 General-Availability Release

This page provides production-ready open-source builds of the Java Development Kit, version 21, an implementation of the Java SE 21 Platform under the GNU General Public License, version 2, with the Classpath Exception.

Commercial builds of JDK 21.0.2 from Oracle, under a non-open-source license, can be found here.



Linux / AArch64 tar.gz (sha256) 201827024
Linux / x64 tar.gz (sha256) 203616881
macOS / AArch64 tar.gz (sha256) 197537405
macOS / x64 tar.gz (sha256) 199891097
Windows / x64 zip (sha256) 201328186



If you have suggestions or encounter bugs, please submit them using the usual Java SE bug-reporting channel. Be sure to include complete version information from the output of the java --version command.

International use restrictions

Due to limited intellectual property protection and enforcement in certain countries, the source code may only be distributed to an authorized list of countries. You will not be able to access the source code if you are downloading from a country that is not on this list. We are continuously reviewing this list for addition of other countries.