Java 22
Status | End of Life |
---|---|
Release Date | 2024-03-19 |
EOL Date | 2024-09-17 |
Latest Version | 22.0.2 |
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 | 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
- Region Pinning for G1 (JEP 423)
Language
- Statements before super(...) 1. Preview (JEP 447)
- Unnamed Variables & Patterns (JEP 456)
- String Templates 2. Preview (JEP 459, Java Almanac)
- Implicitly Declared Classes and Instance Main Methods 2. Preview (JEP 463, Java Almanac)
API
- Foreign Function & Memory API (JEP 454)
- Class-File API 1. Preview (JEP 457)
- Stream Gatherers 1. Preview (JEP 461, Java Almanac)
- Structured Concurrency 2. Preview (JEP 462)
Tools
- Launch Multi-File Source-Code Programs (JEP 458)
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 | |
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.