Java (Eclipse Temurin) 21 LTS vs 25 LTS

Support windows, end-of-life dates and latest versions side by side.

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.

Java (Eclipse Temurin) 21 LTS Java (Eclipse Temurin) 25 LTS
ReleasedOct 10, 2023Sep 22, 2025
StatusSupportedSupported
Active support untilโ€”โ€”
End of lifeDec 31, 2029
in 3 years
Sep 30, 2031
in 4 years
Total support6 years, 2 months6 years
Latest version21.0.13+9
Oct 22, 2026
25.0.5+8
Oct 22, 2026
LTSYesYes

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