Java 23
Status | End of Life |
---|---|
Release Date | 2024-09-17 |
EOL Date | 2025-03-18 |
Latest Version | 23.0.2 |
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)
Should I Upgrade?
Java 23 is end-of-life since 2025-03-18. Unless you have a commercial 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.
There is no newer long term support LTS version than the version you're currently using. But you can upgrade to the latest regular release Java 24 which is currently maintained.
Downloads
Vendor | Product | License | Platform Downloads |
---|---|---|---|
Adoptium | Eclipse Temurin | 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 | |
SAP | SapMachine 23 | GPLv2+CE |
Sandbox
Instantly compile and run Java 23 snippets without a local Java installation.