Java (Eclipse Temurin) 21 LTS vs 25 LTS
Which should you run?
Pick Java (Eclipse Temurin) 25 LTS for new installs. It's supported until Sep 30, 2031, 1 year, 8 months longer than 21 LTS, which ends Dec 31, 2029.
21 LTS
25 LTS
20232031
Supported
Security fixes only
Today
| Java (Eclipse Temurin) 21 LTS | Java (Eclipse Temurin) 25 LTS | |
|---|---|---|
| Released | Oct 10, 2023 | Sep 22, 2025 |
| Status | Supported | Supported |
| Active support until | โ | โ |
| End of life | Dec 31, 2029 in 3 years | Sep 30, 2031 in 4 years |
| Total support | 6 years, 2 months | 6 years |
| Latest version | 21.0.13+9 Oct 22, 2026 | 25.0.5+8 Oct 22, 2026 |
| LTS | Yes | Yes |
How to upgrade from Java (Eclipse Temurin) 21 LTS to 25 LTS
Ubuntu / Debian (Adoptium repository)
sudo apt update
sudo apt install temurin-25-jdk Windows
winget install EclipseAdoptium.Temurin.25.JDK Docker
docker pull eclipse-temurin:25 Official upgrade guide โ Back up first, and test on a non-production machine when you move to a new branch.
Quick answers
- Should I use Java (Eclipse Temurin) 21 LTS or 25 LTS?
- Pick Java (Eclipse Temurin) 25 LTS for new installs. It's supported until Sep 30, 2031, 1 year, 8 months longer than 21 LTS, which ends Dec 31, 2029.
- How long are Java (Eclipse Temurin) 21 LTS and 25 LTS supported?
- Java (Eclipse Temurin) 21 LTS: supported until Dec 31, 2029. Java (Eclipse Temurin) 25 LTS: supported until Sep 30, 2031.
- What are the latest Java (Eclipse Temurin) 21 LTS and 25 LTS versions?
- Java (Eclipse Temurin) 21 LTS is at 21.0.13+9 (Oct 22, 2026), and Java (Eclipse Temurin) 25 LTS is at 25.0.5+8 (Oct 22, 2026).
More Java (Eclipse Temurin) comparisons
Official release policy ยท Checked 23 minutes ago