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

Java 22

Status In Development
Release Date 2024-03-15
EOL Date 2024-09
Class File Version 66.0
API Changes Compare to 21 - 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

New Features

Here are all new features in Java 22 by category. There is also of list of all features of all Java releases.

JVM

Language

API

Tools

Downloads

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

Sandbox

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

import java.text.ListFormat; import java.util.List; public class Java22 { public static void main(String[] args) { var f = ListFormat.getInstance(); System.out.printf(f.format(List.of("classes", "interfaces", "enums", "records"))); } }