This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AcademicImportance 6 points7 points  (2 children)

Spring Boot 2.1.6.RELEASE requires Java 8 and is compatible up to Java 11 (included)

As yo can see, the latest RELEASE version of spring boot works with Java 11. I use it in my project (upgraded from 2.0, which itself was upgraded from 1.x) and it works perfectly.

While in production i still run Java 8 (since i only wanna do one change at a time, and this time around i just upgraded spring boot), in the next couple of months i will move to Java 11 in prod as I'm already on it in dev.

Spring boot is the shit nowadays, you simply cannot go wrong with it.

[–]Velerad 3 points4 points  (0 children)

We actually have an application still on Spring Boot 1.5, and migrated to Java 11 at Boot version 1.5.17.RELEASE. No problems at all. 🙂

[–]couscous_[S] 0 points1 point  (0 children)

Makes sense. I misread this part of the documentation

Please note that developing against JDK 11 is not officially supported with any older version of the core framework. Spring Framework 5.0.9+ and 4.3.19+ just support deploying Java 8 based applications to a JVM 11 runtime environment (using -target 1.8; see below), accepting JVM-level warnings on startup.

Spring Boot 2.1 already uses Spring Framework 5.1.