Java 24
Status | Feature Release |
---|---|
Release Date | 2025-03-18 |
EOL Date | 2025-09 |
Latest Version | 24.0.1 |
Class File Version | 68.0 |
Unicode Version | 16.0.0 |
API Changes | Compare to 23 - 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 24 by category. There is also of list of all features of all Java releases.
JVM
- Late Barrier Expansion for G1 (JEP 475)
- Remove the Windows 32-bit x86 Port (JEP 479)
- Ahead-of-Time Class Loading & Linking (JEP 483)
- ZGC: Remove the Non-Generational Mode (JEP 490)
- Synchronize Virtual Threads without Pinning (JEP 491)
- Deprecate the 32-bit x86 Port for Removal (JEP 501)
Language
- Primitive Types in Patterns, instanceof, and switch 2. Preview (JEP 488)
- Flexible Constructor Bodies 2. Preview (JEP 492)
- Module Import Declarations 2. Preview (JEP 494)
- Simple Source Files and Instance Main Methods 4. Preview (JEP 495)
API
- Prepare to Restrict the Use of JNI (JEP 472)
- Key Derivation Function API 1. Preview (JEP 478)
- Class-File API (JEP 484)
- Stream Gatherers (JEP 485)
- Permanently Disable the Security Manager (JEP 486)
- Scoped Values 4. Preview (JEP 487)
- Vector API 9. Incubator (JEP 489)
- Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism (JEP 496)
- Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm (JEP 497)
- Warn upon Use of Memory-Access Methods in sun.misc.Unsafe (JEP 498)
- Structured Concurrency 4. Preview (JEP 499)
Tools
- Linking Run-Time Images without JMODs (JEP 493)
Should I Upgrade?
Congratulations, with Java 24 you're running the latest Java release. This is not a long term support (LTS) release and only supported until 2025-09. Please prepare to upgrade to the next release afterwards.
If you want to experiment with the latest features which are currently under active development you may try Java 25 or Java 26.
Downloads
Vendor | Product | License | Platform Downloads |
---|---|---|---|
Adoptium | Eclipse Temurin | GPLv2+CE | |
Amazon | Corretto 24 | GPLv2+CE | |
Azul Systems | Zulu Builds of OpenJDK 24 | GPLv2+CE | |
BellSoft | Liberica | GPLv2+CE | |
Oracle | Oracle JDK 24 | Oracle No-Fee | |
Oracle | Oracle OpenJDK 24 | GPLv2+CE | |
SAP | SapMachine 24 | GPLv2+CE |
Sandbox
Instantly compile and run Java 24 snippets without a local Java installation.