It has been 28 years since the first release of the Java Programming Language back in the year 1995. What makes Java the most powerful and popular language among developers is its backward compatibility, WORA feature, and robustness to develop applications at scale.
Java JDK 21 is the latest edition to the Long Term Support version of Java 17, 11, and 8.
There is a list of 15 JEPs as a part of Java 21, some of the must-know features are Generational Z Garbage Collector, Record Patterns, Virtual Threads, and Sequenced Collections.
List of all Java JDK LTS Versions and Support Dates
Java JDK LST Version | Release Data | Extended Support Date |
---|---|---|
Java SE 8 | 18th March 2014 | December 2030 |
Java SE 11 | 25th September 2018 | September 2026 |
Java SE 17 | 14th September 2021 | September 2029 |
Java SE 21 | 19th September 2023 | September 2031 |
Java JDK LTS Version Support Timeline Diagram
As you can see, Java SE 8 was the first LTS version of Java that was released in the year 2014 and will have extended support from Oracle until 2030, which is 17 years!
Next we have Java SE 11 which was released four years later to Java 8 in September 2018 and will have support until 2026.
Next we have Java SE 17 which was released three years later to Java 11 in September 2021 and will have support until 2029.
And finally we have Java SE 21, which is the 4th LTS version of Java that will have support until the year 2031.
What are the new features of Java JDK 21?
- JEP 430: String Templates (Preview)
- JEP 431: Sequenced Collections
- JEP 439: Generational ZGC
- JEP 440: Record Patterns
- JEP 441: Pattern Matching for switch
- JEP 442: Foreign Function & Memory API (Third Preview)
- JEP 443: Unnamed Patterns and Variables (Preview)
- JEP 444: Virtual Threads
- JEP 445: Unnamed Classes and Instance Main Methods (Preview)
- JEP 446: Scoped Values (Preview)
- JEP 448: Vector API (Sixth Incubator)
- JEP 449: Deprecate the Windows 32-bit x86 Port for Removal
- JEP 451: Prepare to Disallow the Dynamic Loading of Agents
- JEP 452: Key Encapsulation Mechanism API
- JEP 453: Structured Concurrency (Preview)
Facing issues? Have Questions? Post them here! I am happy to answer!
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
- Installing Java JDK 21 Final Release Candidate
- Steps to Install Java 21 (LTS JDK) on Windows 11
- How to install and Use Java JDK 21 Initial Release Candidate
- How to Enable Java JDK 21 Preview Features on IntelliJ
- Setting Up VS Code with Java JDK 21
- Java JDK 21 LTS Version Release Date (General Availability)
- [JEP 430] Java JDK 21 New Feature - String Templates (Preview)
- How to use Java JDK 21 with IntelliJ
- Java JDK 21: JEP 439 - An Improved Generational Z Garbage Collector (ZGC)
- [JEP 431] Java JDK 21 New Feature - Sequenced Collections
- Java JDK 21 - The Latest LTS Version
- Java JDK 21 - JEP 440 - Record Patterns
- Fix - Unsupported major.minor version 65.0 (Java JDK 21)
- macOS Ventura XCode Command Line Tools Installation - MacOS
- [javaScript] Convert text case to lowercase - JavaScript
- Install Java Runtime Environment (Oracle or open JRE) on Ubuntu - Linux
- Setting $JAVA_HOME Environment Variable in macOS - MacOS
- Adding Jackson dependency to Java Gradle Project - Gradle
- auth_client_using_bad_version_title : Error Android Lint - Android
- How to take a screenshot of android emulator (AVD) screen - Android
- Fix: Windows 10/11 Update Install Error - 0x80070103 - Windows