Java 23
Status | Feature Release |
---|---|
Release Date | 2024-09-17 |
EOL Date | 2025-06 |
Latest Version | 23.0.1 |
Class File Version | 67.0 |
Unicode Version | 15.1.0 |
API Changes | Compare to 22 - 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 23 by category. There is also of list of all features of all Java releases.
JVM
- ZGC: Generational Mode by Default (JEP 474)
Language
- Primitive Types in Patterns, instanceof, and switch 1. Preview (JEP 455)
- Module Import Declarations 1. Preview (JEP 476)
- Implicitly Declared Classes and Instance Main Methods 3. Preview (JEP 477)
- Flexible Constructor Bodies 2. Preview (JEP 482)
API
- Class-File API 2. Preview (JEP 466)
- Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal (JEP 471)
- Stream Gatherers 2. Preview (JEP 473, Java Almanac)
- Structured Concurrency 3. Preview (JEP 480)
- Scoped Values 3. Preview (JEP 481)
Tools
- Markdown Documentation Comments (JEP 467)
Downloads
Vendor | Product | License | Platform Downloads |
---|---|---|---|
Adoptium | Eclipse Temurin | GPLv2+CE | |
Amazon | Corretto 23 | GPLv2+CE | |
Azul Systems | Zulu Builds of OpenJDK 23 | GPLv2+CE | |
BellSoft | Liberica | GPLv2+CE | |
IBM | Semeru Runtime Open Edition, Version 23 | GPLv2+CE | |
Oracle | Oracle JDK 23 | Oracle No-Fee | |
Oracle | Oracle OpenJDK 23 | GPLv2+CE | |
SAP | SapMachine 23 | GPLv2+CE |
Sandbox
Instantly compile and run Java 23 snippets without a local Java installation.