Java 21 is Here!

Oracle announced the general availability of JDK 21 on September 19, 2023. Oracle will offer long term support for Java 21 for at least eight years.

What is New?

Java 21 delivers tens of new features and enhancements along with thousands of performance, stability and security updates.

The 15 JEPs (JDK Enhancement Proposals) delivered with Java 21 are grouped into 6 categories mapping to key long-term Java technology projects and hardware support.

Java 21 is Here!

  1. Project Amber: The goal of Project Amber is to explore and incubate smaller, productivity-oriented Java language features.
  2. Project Loom: Project Loom strives to simplify maintaining concurrent applications in Java by introducing virtual threads and an API for structured concurrency, among other things.
  3. Project Panama: Project Panama aims to improve the connection between the JVM and foreign (non-Java) libraries.
  4. Core Libraries
  5. Performance Updates
  6. Maintenance and Deprecation

Details for each JEP can be read from the links above. I marked the most important JEPs as bold for readability.

References:
  1. https://www.oracle.com/en/news/announcement/ocw-oracle-releases-java-21-2023-09-19/
  2. https://inside.java/2023/09/19/the-arrival-of-java-21/
  3. https://foojay.io/today/java-21-is-available-today-and-its-quite-the-update/