OpenJDK JDK 21 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 from Oracle, under a non-open-source license, can be found here.



Linux / AArch64 tar.gz (sha256) 201583910
Linux / x64 tar.gz (sha256) 203348211
macOS / AArch64 tar.gz (sha256) 197305058
macOS / x64 tar.gz (sha256) 199663920
Windows / x64 zip (sha256) 201151266



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.