Supported

Java 21 end of life

Java 21 has no single end date, and none of its vendor dates has arrived. Oracle lists Premier Support until September 2028 or later and Extended Support until September 2031 or later. Microsoft's earliest end of support is September 2028, Eclipse Temurin lists at least December 2029, Amazon Corretto October 2030 and Azul September 2031. OSSeva does not patch the JDK.

What now

Who provides Java 21 security patches once community support ends?

Your options, costed honestly
End of life
Varies by vendor
Released
Sept 2023
Final release
Each vendor ships its own builds
Successor
Java 25 (LTS)

Date published by Oracle Java SE support roadmap. We do not publish a lifecycle date we cannot source. Vendor dates read on each vendor's own page and checked against endoflife.date on 17 November 2026.

Last reviewed

Java versions: release and end-of-life dates

Java release and end-of-life dates
VersionReleasedEnd of lifeStatus
Java 21 (this page)19 Sept 2023Varies by vendorSupported
Java 1714 Sept 2021Varies by vendorSupported
Java 1125 Sept 2018Varies by vendorSupported
Java 818 Mar 2014January 2019 (Oracle public updates for commercial use)End of life
Java LTS18 Mar 2014Varies by version and vendorSupported

End-of-life dates are published by each project and checked against endoflife.date.

What stops, and when, depending on your Java 21 vendor

  • Nothing stops soon. The earliest dates in the table are September 2028, for Oracle Premier Support (marked "or later") and Microsoft's initial target.
  • Free builds then end in sequence: Eclipse Temurin lists at least December 2029 and Amazon Corretto October 2030. Azul lists September 2031, and Red Hat's full support ends on 31 December 2029 with a paid ELS-1 phase to 30 September 2031.
  • Java 25 is the newer LTS, released in September 2025, and every vendor lists a later date for it. Oracle names Java 29 as the next planned LTS, in September 2027.
  • What Java 21 does not need is a framework change: Spring Boot 3.4 and later and Tomcat 11 all run on it.

What actually breaks in the upgrade

Java 21 is a safe place to land from 8, 11 or 17

Spring Boot 2.7.18 runs up to Java 21 and Spring Boot 3.4, 3.5, 4.0 and 4.1 run on it, so a Java 21 move does not force a framework choice. Many teams take the JDK to 21 first on their existing Boot line, then move the framework. Java LTS versions and end dates.

Spring Boot 2.7 stops at Java 21

Spring Boot 2.7.18 is compatible up to and including Java 21 and will not be updated for later JDKs. A service that must follow the JDK to Java 25 has to move to Spring Boot 3.5 or later, so Java 21 is the ceiling for a Boot 2.7 estate.

Check the licence on Oracle JDK

Oracle's roadmap page describes a change of licence for Oracle JDK 21 updates and tells users who want a permissive licence to move to Oracle JDK 25 or later. Open-source builds from Temurin, Corretto, Azul, Red Hat and Microsoft are separate products with their own terms.

Java 21 end of life dates by vendor

The earliest end date is September 2028 (Oracle Premier Support and Microsoft); the latest listed is September 2031 (Oracle Extended Support and Azul). Each cell is the vendor's own date.

Java 21 support end by vendor, each date read on the vendor's own page on 17 November 2026

VendorWhat the date isDate
Oracle (Java SE)Premier Support / Extended SupportSep 2028 / Sep 2031 (both marked "or later")
Eclipse TemurinEnd of AvailabilityAt least Dec 2029
Amazon CorrettoEnd of lifeOct 2030
Azul ZuluEnd of Production Support (add 2 years for Extended Support)Sep 2031
Red Hat build of OpenJDKEnd of full support / end of paid ELS-131 Dec 2029 / 30 Sep 2031
Microsoft Build of OpenJDKEarliest end of support (initial target)Sep 2028

Sources, all read 17 November 2026: oracle.com Java SE support roadmap (page dated 20 October 2026); adoptium.net/support; aws.amazon.com/corretto/faqs; azul.com/products/azul-support-roadmap; access.redhat.com/articles/1299013 (page updated 13 August 2026); learn.microsoft.com/java/openjdk/support (page updated 4 August 2026, "initial targets"). Cross-checked on endoflife.date.

Which Spring Boot and Tomcat lines run on Java 21

Spring Boot 2.7.18 is compatible up to Java 21, and Spring Boot 3.4, 3.5, 4.0 and 4.1 run on it. Tomcat 9.0, 10.1 and 11.0 all list Java 8, 11 or 17 as their minimum, so each runs on Java 21.

Minimum and maximum Java by framework line, read 17 November 2026

Framework lineJava it runs onOpen-source supportSource
Spring Boot 2.7.188 to 21Ended 30 Jun 2023docs.spring.io Boot 2.7.18
Spring Boot 3.4.1317 to 24Ended 31 Dec 2025docs.spring.io Boot 3.4.13
Spring Boot 3.5.1617 to 25Ended 30 Jun 2026docs.spring.io Boot 3.5.16
Spring Boot 4.0.917 to 27Ends 31 Dec 2026docs.spring.io Boot 4.0.9
Spring Boot 4.1.217 to 27Ends 31 Jul 2027docs.spring.io Boot 4.1.2
Tomcat 9.0.x8 and laterApache support ends 31 Mar 2027tomcat.apache.org whichversion and 9.0.x announcement
Tomcat 10.1.x11 and laterSupportedtomcat.apache.org whichversion
Tomcat 11.0.x17 and laterSupportedtomcat.apache.org whichversion

What OSSeva covers on top of Java 21

OSSeva does not patch the JDK. On top of Java 21 it covers Spring Framework, Spring Boot and Spring Security lines after open-source support, such as Boot 3.4 and 3.5, and Apache Tomcat 9 once Apache support ends on 31 March 2027. Fixes ship as signed builds through your repository manager: Critical CVEs within 48 hours and High within 7 days on the Patch tier.

Your options, costed honestly

Including the ones that do not involve buying anything from us.

OptionWhat it isEffortCostOur view
Stay on a maintained OpenJDK 21 buildEvery vendor in the table lists a date in 2028 or later for Java 21.Hours to daysFree on the vendors' no-cost builds; check each vendor's termsNo action is forced today. Record the vendor and its end date.
Plan the move to Java 25The newer LTS, with end dates from 2030 to 2033 across vendors.Weeks, driven by libraries and frameworksEngineering timeSensible before your vendor's Java 21 date approaches. Spring Boot 3.5 and later run on 25.
Oracle Extended Support or Red Hat ELS-1Oracle lists Extended Support to September 2031 or later; Red Hat sells an optional ELS-1 phase to 30 September 2031.ProcurementVendor terms; not covered hereCompare against a free maintained build first.
Keep Spring and Tomcat patchedThird-party patched builds for Spring and Tomcat lines that leave support before Java 21 does.Days to onboardSubscriptionThis is the gap OSSeva fills: the frameworks, not the JVM.

What OSSeva does for Java 21

Not covered — and here is why

OSSeva does not patch the Java runtime and will not quote for it. What OSSeva covers on top of Java 21 is the stack that runs on it: Spring Framework, Spring Boot and Spring Security lines after open-source support, such as Boot 3.4 and 3.5, and Apache Tomcat 9 after 31 March 2027. Critical CVEs are patched within 48 hours and High within 7 days.

Spring Framework extended support

What your auditor will say

PCI DSS 4.0

Requirement 6.3.3 asks for security patches on in-scope components. A JDK build still receiving vendor updates meets it for the runtime; the finding then moves up to the framework and server layer.

SOC 2

Auditors ask which distribution, not which version. Record the vendor, the build and its end date in your asset inventory.

Compliance library Spring Framework end of life dates for every version

Questions

Java 21: common questions

Book a 15-minute call

When does Java 21 reach end of life?

There is no single date, and none has passed. Oracle lists Premier Support until September 2028 or later and Extended Support until September 2031 or later. Microsoft's earliest end of support is September 2028, Eclipse Temurin lists at least December 2029, Amazon Corretto October 2030 and Azul September 2031. Read on 17 November 2026.

Is Java 21 an LTS release?

Yes. Oracle's roadmap lists Java SE 8, 11, 17, 21 and 25 as LTS releases.

Does Spring Boot support Java 21?

Yes. Spring Boot 2.7.18 is compatible up to and including Java 21, and Spring Boot 3.4, 3.5, 4.0 and 4.1 all run on it. Boot 3.4 and later require at least Java 17.

Should I move to Java 25?

Java 25 is the newer LTS and every vendor lists a later end date for it. There is no forced move from Java 21 today; plan it before your vendor's Java 21 date gets close, and check that your Spring Boot line supports 25 (Boot 3.5 and later do).

Does OSSeva patch Java 21?

No. OSSeva patches Spring and Tomcat running on Java, not the Java runtime.

Get a quote

Still running Java 21?

Tell us the versions and the estate size. We will tell you honestly whether to upgrade or to buy cover — and we say 'upgrade' more often than you would expect.

Only your email is required · An engineer replies within 1 business day · No commitment

Prefer to talk or read more first?

Book a call