Index
- Introduction – Note : released every 6 months i.e in march and September every year
- LTS are generally supported for 4 years – it is more oriented towards stability than features ans had been in past versions
| Sno | Java Version | Release Date | Support-Date | LTS/STS | Main-feature Addition | comment |
|---|---|---|---|---|---|---|
| 1 | Java 5.0 | LTS | – Covariant – var-arg | |||
| 2 | Java 8.0 | March 2014 | extended support until December 2030* | LTS | – Lambda – Stream – Optional – Interface -Default/Static addition | |
| 3 | Java -11 | Released- Sept 2018 | extended support until September 2026 | LTS | – HTTP Client (Standardized) – var keyword – String Methods ( isBlank, lines, etc.) | Focused on APIs, performance, and GC; |
| 4 | Java -17 | Released- September 2021* | extended support until September 2029 | LTS | – Sealed classes – record classes | Modern Java syntax (records, sealed classes), security tightening, pattern matching, |
| 5 | Java-21 | Sept2023 | LTS | Major LTS with virtual threads, structured concurrency, foreign memory API, and pattern matching finalization—a powerful upgrade. | ||
| 6 | Java-25 | Sept2025 | LTS | – Full support for generics over primitives (Valhalla) – Finalized string templates – Universal generics – Foreign function and memory API (Final) – Pattern matching (Final) |
Features in a version are release under one of following category:
- GA (General release)
- production-ready versions containing all the finalized features
- Preview Features:These features are not considered final and could be changed, removed, or have their APIs modified in future releases.
Note- LTS has only GA release
Official release Notes: