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

Java 22

Status Feature Release
Release Date 2024-03-19
EOL Date 2024-09-17
Latest Version 22
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, Language Spec, VM Spec, 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
Adoptium Eclipse Temurin GPLv2+CE
Amazon Corretto 22 GPLv2+CE
Azul Systems Zulu Builds of OpenJDK 22 GPLv2+CE
BellSoft Liberica GPLv2+CE
Oracle Oracle JDK 22 Oracle No-Fee
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"))); } }