The Java Version Almanac
javaalmanac.io
Feedback on this page?

Java 21

Status In Development
Release Date 2023-09-15
EOL Date 2028-09
Bytecode Version 65.0
API Changes Compare to 20 - 19 - 18 - 17 - 16 - 15 - 14 - 13 - 12 - 11 - 10 - 9 - 8 - 7 - 6 - 5 - 1.4 - 1.3 - 1.2 - 1.1
Documentation Release Notes, JavaDoc
SCM git
This will be the next LTS Release after Java 17.

New Features

Downloads

Vendor Product License Platform Downloads
Azul Systems Zulu Builds of OpenJDK 21 GPLv2+CE
Oracle Oracle OpenJDK 21 GPLv2+CE
SAP SapMachine 21 GPLv2+CE

Sandbox

Instantly compile and run Java 21 snippets without a local Java installation.

import java.lang.reflect.ClassFileFormatVersion; public class Java21 { public static void main(String[] args) { var v = ClassFileFormatVersion.latest(); System.out.printf("Hello Java bytecode version %s!", v.major()); } }