Java 21 / JDK 21 has been officially GA. This version is the long-term support version (LTS) after JDK 17. Oracle will provide technical support and updates for at least eight years .
Formal stable features
- JEP 444: Virtual Threads
- JEP 431: Sequence Collections
- JEP 440: Recording Mode
- JEP 441: switch pattern matching
- JEP 439: Generational ZGC
- JEP 449: Deprecation of Windows 32-bit x86 port
- JEP 451: Prepare to disable dynamic loading of proxies
- JEP 452: Key Encapsulation Mechanism API
Preview phase functionality
-
JEP 446: Scoped Values (Preview)
-
JEP 453: Structured Concurrency (Preview)
-
JEP 430: String Templates (Preview)
Incubation stage function
- JEP 448: Vector API (Incubator Phase 6)
Download: https://jdk.java.net/21/
Release notes: https://jdk.java.net/21/release-notes
Features: https://openjdk.org/projects/jdk/21/