What Is the Latest Version of Java? (2026)

As of 2026, the latest Java versions are Java 25 LTS (September 2025) and Java 26 (March 2026, non-LTS). Most production systems target Java 21 LTS, the previous LTS. New projects should target Java 21 or 25.

Current versions at a glance

VersionReleasedTypeFree support until
Java 26March 2026Non-LTS (6-month life)Sept 2026
Java 25Sept 2025LTS2031+ (Temurin)
Java 24March 2025Non-LTSEOL
Java 23Sept 2024Non-LTSEOL
Java 21Sept 2023LTS2029+ (Temurin)
Java 17Sept 2021LTS2027+ (Temurin)
Java 11Sept 2018LTS2027 (Temurin)
Java 8March 2014LTS2030 (Oracle). Free builds vary.

Which version should you use?

New project: Java 21 LTS. Widely supported by Spring Boot 3.x, Quarkus, Micronaut, most frameworks. Virtual threads, records, pattern matching — modern Java at its most stable.

If you want cutting-edge features: Java 25 LTS. Adds structured concurrency (stable), value objects (preview), string templates (stable).

Non-LTS versions: Only use 24 or 26 if you actively want to test new preview features; they fall out of support in 6 months.

How to check what version you have

java -version

How the release cadence works

Since Java 9, Oracle releases a new major version every six months (March and September). Every three years (six releases), one of those is designated LTS: Java 11, 17, 21, 25. LTS versions receive security patches for years; non-LTS versions stop getting patches when the next version ships.

Where to download the latest Java

  • Eclipse Temurin: adoptium.net
  • Amazon Corretto: aws.amazon.com/corretto
  • Microsoft OpenJDK: learn.microsoft.com/java/openjdk/download
  • Oracle JDK (subscription): oracle.com/java/technologies/downloads