September 19, 2023
Java 21 LTS released
Oracle and the OpenJDK community shipped JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. 21 on September 19, 2023 — an LTSLong-term support — a release branch maintained with security fixes for years, common in Linux and Node. release with virtual threads, sequenced collections, and pattern matching for switch.
What it was for
JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. 21's virtual threads (Project Loom) let servers handle millions of concurrent connections with simple thread-per-request code. As the current LTSLong-term support — a release branch maintained with security fixes for years, common in Linux and Node. after JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. 17, it became the target for Spring BootA Java framework for production-ready apps — auto-configuration and embedded servers for microservices. 3.2+, GradleA build automation tool for Java, Kotlin, and Android projects using a flexible task model. 8, and enterprise JDK upgrades through 2031.
Companies
- Sun Microsystems
Why it's here
JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. 21 virtual threads were the biggest concurrency shift since JavaA portable language running on the JVM — dominant in enterprise servers, Android, and big data. 5 executors.
Why it mattered
Loom made blocking-style code scale without reactive programming complexity.
What it solved
Thread pools and reactive frameworks were the only ways to handle high concurrency at scale.
Media
ImageJava (programming language)Peter Campbell, CC BY-SA 4.0, via Wikimedia Commons
Related
- Java 17 LTS releasedSeptember 14, 2021
- Java 8 releasedMarch 18, 2014
- Kotlin 2.0 releasedMay 21, 2024