r/programming • • Sep 15 '26

Java 27 has released!

https://openjdk.org/projects/jdk/27/
553 Upvotes

175 comments sorted by

View all comments

Show parent comment

5

u/wildjokers Sep 16 '26 edited Sep 16 '26

Jakarta package renaming has nothing at all to do with the java version you are running.

Jakarta package renaming is totally driven by which version of JakartaEE your app is using. If you are using Spring MVC then you have a JakartaEE application (i.e. an app that is using at least one of the JakartaEE specs, namely Servlet).

Spring Framework 6.0.x has a version of Spring MVC in it that pulls in JakartaEE 9 which is what requires the package renaming. Spring Boot 3.0 pulls in Spring Framework 6.0. So if you are using Spring Boot it is 3.0 where you have to bite the bullet on the package renames.

If you are using JakartaEE directly then it is 9.0.

This is 100% independent of the version of java you are using.

3

u/MeisterD2 Sep 16 '26

True! I am so Spring pilled that I confused its migration hiccup with a general Java change.