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

Java 22

Status End of Life
Release Date 2024-03-19
EOL Date 2024-09-17
Latest Version 22.0.2
Umbrella JSR JSR 397
Class File Version 66.0
Unicode Version 15.1.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 - 1.0
Documentation JavaDoc, Language Spec, VM Spec, Tools, Release Notes
SCM git
OpenJDK Updates
2024-07-16 → 22.0.2
2024-04-17 → 22.0.1
2024-03-19 → 22

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

Should I Upgrade?

Java 22 is end-of-life since 2024-09-17. Unless you have a support contract for this version and a compelling reason to stay on the old version you should definitely upgrade to a newer version with active support.

Please consider upgrading to a current long term support LTS version Java 25 to rely on a maintained platform and get advantage of the latest features and improvements.

Downloads

Vendor Product License Platform Downloads
Adoptium Eclipse Temurin GPLv2+CE
Azul Systems Zulu Builds of OpenJDK 22 GPLv2+CE
BellSoft Liberica GPLv2+CE
IBM Semeru Runtime Open Edition, Version 22 GPLv2+CE
Oracle Oracle JDK 22 Oracle No-Fee
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"))); } }