The latest Java version is Java 22 and was released on March 19, 2024. The most important features in Java 22 are Unnamed Variables and Patterns, the Foreign Functions & Memory API, and Launch Multi-File Source Code Programs.
The upcoming Java version is Java 23 and has been in the so-called “Rampdown Phase One” since June 6, 2024, the feature set is therefore fixed. The most important new features are Markdown Documentation Comments, the ZGC Generational Mode being activated by default, and the deprecation of all memory-access methods in sun.misc.Unsafe. The release is planned for September 17, 2024.
The Java cheat sheet contains the new features of both the current Java version 22 and the upcoming version 23 as well as all features that are in preview or incubator status as of Java 23, such as Flexible Constructor Bodies, Stream Gatherers, Implicitly Declared Classes & Instance Main Methods, Structured Concurrency, Scoped Values, Module Import Declarations, Primitive Type Patterns, the Class-File API, and the Vector API.
In the Java cheat sheet, you will also find the most important changes to all older Java versions since Java 10. If you are interested in a specific Java version – below you will find an overview of all articles about older Java versions:
Q: I am already subscribed to the newsletter. How do I get the Java version cheat sheet?
A:If you are already registered for the newsletter, you will automatically receive a new version of the cheat sheet by e-mail with every new Java version. You do not need to fill out this form.