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
| Version | Released | End of life | Status |
|---|---|---|---|
| Java 21 (this page) | 19 Sept 2023 | Varies by vendor | Supported |
| Java 17 | 14 Sept 2021 | Varies by vendor | Supported |
| Java 11 | 25 Sept 2018 | Varies by vendor | Supported |
| Java 8 | 18 Mar 2014 | January 2019 (Oracle public updates for commercial use) | End of life |
| Java LTS | 18 Mar 2014 | Varies by version and vendor | Supported |
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
| Vendor | What the date is | Date |
|---|---|---|
| Oracle (Java SE) | Premier Support / Extended Support | Sep 2028 / Sep 2031 (both marked "or later") |
| Eclipse Temurin | End of Availability | At least Dec 2029 |
| Amazon Corretto | End of life | Oct 2030 |
| Azul Zulu | End of Production Support (add 2 years for Extended Support) | Sep 2031 |
| Red Hat build of OpenJDK | End of full support / end of paid ELS-1 | 31 Dec 2029 / 30 Sep 2031 |
| Microsoft Build of OpenJDK | Earliest 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 line | Java it runs on | Open-source support | Source |
|---|---|---|---|
| Spring Boot 2.7.18 | 8 to 21 | Ended 30 Jun 2023 | docs.spring.io Boot 2.7.18 |
| Spring Boot 3.4.13 | 17 to 24 | Ended 31 Dec 2025 | docs.spring.io Boot 3.4.13 |
| Spring Boot 3.5.16 | 17 to 25 | Ended 30 Jun 2026 | docs.spring.io Boot 3.5.16 |
| Spring Boot 4.0.9 | 17 to 27 | Ends 31 Dec 2026 | docs.spring.io Boot 4.0.9 |
| Spring Boot 4.1.2 | 17 to 27 | Ends 31 Jul 2027 | docs.spring.io Boot 4.1.2 |
| Tomcat 9.0.x | 8 and later | Apache support ends 31 Mar 2027 | tomcat.apache.org whichversion and 9.0.x announcement |
| Tomcat 10.1.x | 11 and later | Supported | tomcat.apache.org whichversion |
| Tomcat 11.0.x | 17 and later | Supported | tomcat.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.
| Option | What it is | Effort | Cost | Our view |
|---|---|---|---|---|
| Stay on a maintained OpenJDK 21 build | Every vendor in the table lists a date in 2028 or later for Java 21. | Hours to days | Free on the vendors' no-cost builds; check each vendor's terms | No action is forced today. Record the vendor and its end date. |
| Plan the move to Java 25 | The newer LTS, with end dates from 2030 to 2033 across vendors. | Weeks, driven by libraries and frameworks | Engineering time | Sensible before your vendor's Java 21 date approaches. Spring Boot 3.5 and later run on 25. |
| Oracle Extended Support or Red Hat ELS-1 | Oracle lists Extended Support to September 2031 or later; Red Hat sells an optional ELS-1 phase to 30 September 2031. | Procurement | Vendor terms; not covered here | Compare against a free maintained build first. |
| Keep Spring and Tomcat patched | Third-party patched builds for Spring and Tomcat lines that leave support before Java 21 does. | Days to onboard | Subscription | This 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 supportWhat your auditor will say
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.
Auditors ask which distribution, not which version. Record the vendor, the build and its end date in your asset inventory.
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.
Prefer to talk or read more first?