Back to blog

OSSeva Blog

Migration

Spring Boot 2.7 on Java 8: what is still supported, and until when

Updated 6 min read

Spring Boot 2.7 is the last Spring Boot line that runs on Java 8. Version 2.7.18 requires Java 8 and works up to Java 21, while Spring Boot 3.0 and every later line need Java 17 or newer. Open source support for 2.7 ended on 30 June 2023, but Java 8 is still patched by most JDK vendors until at least December 2030. A Java 8 service on Spring Boot 2.7 therefore has a supported JDK under an unsupported framework.

Running Spring Framework in production? OSSeva patches and supports it, end-of-life versions included.

Spring Framework extended support: what is covered

Which Spring Boot lines run on Java 8

Only the 2.x lines run on Java 8, and 2.7 is the last of them. Every Spring Boot 3 and 4 line has a floor of Java 17.

Spring Boot lineJava versionsOpen source support ended or endsCommercial support ends
2.7.x8 to 2130 June 2023 (last release 2.7.18)30 June 2029
3.5.x17 to 2530 June 202630 June 2032
4.0.x17 to 2731 December 202631 December 2027
4.1.x17 to 2731 July 202731 July 2028

Source: the spring.io support data and the system requirements page for each line in Spring Boot's reference documentation, read on 15 November 2026 and re-read for 4.0 and 4.1 on 17 November 2026. Spring Boot 3.0 introduced the Java 17 floor; its release notes say that teams on Java 8 or Java 11 "need to upgrade your JDK" before developing Boot 3.0 applications. The 3.0 to 3.4 lines are also past open source support.

Spring Framework 5.3 sits underneath

Spring Boot 2.7 runs on Spring Framework 5.3, the last Framework line for Java 8. Its open source support ended on 31 August 2024, and commercial support runs to 30 June 2029. Spring Framework 5.3 supports JDK 8 to 21. Spring Framework 6.2 and 7.x need JDK 17 or later. The Framework dates are why a Java 8 service has two unsupported layers, not one: Boot 2.7 and Framework 5.3 ended open source support 14 months apart.

How long Java 8 itself is supported

The JDK is the one part of a Java 8 stack with a long runway: Oracle, Temurin, Corretto and Azul list December 2030, and the date that arrives first is Red Hat's no-cost full support, on 30 November 2026.

Java 8 buildSupport date
Oracle Java SE 8Premier Support ended March 2022; Extended Support until December 2030
Eclipse Temurin 8 (Adoptium)At least December 2030
Amazon Corretto 8Last planned update October 2030; end of life December 2030
Azul Java 8December 2030
Red Hat build of OpenJDK 8Full support until 30 November 2026 (marked with an asterisk on Red Hat's page); paid ELS-1 until 31 December 2032
OpenLogic (Perforce)OpenJDK 8 and 11 listed until 30 November 2028
Microsoft Build of OpenJDKNo Java 8 build; Microsoft relies on Eclipse Temurin for Java 8

Sources: each vendor's own support roadmap or FAQ, read on 15 November 2026 and again on 17 November 2026 for the Red Hat, OpenLogic and Microsoft rows. Check each vendor's licence and support terms for production use. The practical reading: nothing forces the JDK off Java 8 before 2030. What forces the move is the Spring layer above it. For the JDK side by vendor, see Java 8 end of life by distribution and which JDK vendor still patches Java 8, 11 and 17; for the next LTS up, Java 11 and Java 17.

What changes when Spring Boot 2.7 stops getting fixes

The exposure is mostly in the dependencies Boot manages, not in Spring's own code. Spring Boot's value is a curated set of library versions: Jackson, embedded Tomcat, Logback, Netty and others. Since 30 June 2023 that set has not been updated in open source, so fixes for those libraries stop arriving through the Boot version bump. Fixes for the 2.7 line itself ship only as commercial 2.7 releases. The advisories since the end date are listed on Spring Boot 2.7 end of life, and the dates on Spring Boot 2.7 EOL dates.

The order to move in

Change one layer at a time: JDK first, framework second. Spring Boot 2.7.18 runs on Java 17 and 21, so the JDK move does not have to wait for the framework move.

  1. Find what each service runs. Check the Boot version and the JDK. For Maven: ./mvnw dependency:tree -Dincludes=org.springframework.boot:spring-boot. For Gradle: ./gradlew dependencies --configuration runtimeClasspath | grep spring-boot. For the JDK, run java -version in the container or on the host.
  2. Get to 2.7.18. It is the last open source release and the Spring Boot 3.0 migration guide asks for the latest 2.7.x first.
  3. Move the JDK to 17 or 21 on Boot 2.7. Release this on its own. Failures here come from libraries that reach into JDK internals, bytecode tools and old build plugins, not from Spring.
  4. Then move the framework. Boot 3.0 and later bring the javax to jakarta rename and Spring Security 6. The Spring Boot 2 to 3 migration guide covers the steps, and Spring Boot 3.5 to 4.0 covers the second hop. Aim at a line that still has support, see Spring Boot EOL dates.

When a service has to stay on Java 8

A service stuck on Java 8 can only stay on Spring Boot 2.7, so its fixes have to come from a commercial 2.7 release or a backport. Broadcom sells the first, as Spring Enterprise, to 30 June 2029. OSSeva provides the second: Spring Boot extended support backports CVE fixes to Boot 2.7 and to the dependency set the 2.7 BOM manages, delivered as signed Maven artifacts through your own repository manager. Critical CVEs are patched within 48 hours and High within 7 days. This is a holding position while the service is moved, not a destination.

Frequently asked questions

Does Spring Boot 3 run on Java 8?

No. Spring Boot 3.0 requires Java 17 as a minimum, and every later line keeps that floor. Java 8 services have to stay on Spring Boot 2.7 or earlier.

Can Spring Boot 2.7 run on Java 17 or 21?

Yes. The reference documentation for 2.7.18 says it requires Java 8 and is compatible up to and including Java 21. That makes the JDK upgrade a step you can take before the framework upgrade.

Is Java 8 still supported in 2026?

Yes. Oracle lists Extended Support for Java SE 8 until December 2030, and Eclipse Temurin, Amazon Corretto and Azul list December 2030 or later for their Java 8 builds. Red Hat's no-cost full support for OpenJDK 8 ends on 30 November 2026, with a paid ELS-1 phase to 31 December 2032.

Is Spring Boot 2.7 still getting security fixes?

Not from the open source project. Open source support ended on 30 June 2023 and 2.7.18 was the last release. Commercial support for 2.7 runs to 30 June 2029.

Tags

Spring BootSpring Boot 2.7Java 8JavaEnd of LifeSpring Framework

Get a quote

Ready to get your open source under control?

Tell us what you run. An OSSeva engineer replies within 1 business day with CVE coverage and a price for your stack.

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

Prefer to talk or read more first?

Book a call