RDF4j V5 should we require Java Release 11, 17 or something else? #4380
Replies: 4 comments 9 replies
-
Using 21 is too soon IMHO, most organizations I talked to are just (thinking about) moving towards JDK 17. |
Beta Was this translation helpful? Give feedback.
-
I thought we talked this over in the online meeting we had in the autumn and decided to stick with 11 for the time being. Even though spring boot has moved to 17 for their 3.0.0 release they are still supporting 2.7.x until November this year for free and until 2025 for paying users. |
Beta Was this translation helpful? Give feedback.
-
Is there anything we want to do that requires Java 17? I know @erikgb has been looking at upgrading to spring-boot 3.x, but I'm not sure if that is a "would be nice" or a "can't use without it". In any case I agree that as much as I'd personally like to get Java 17 features in our code, we have to be a little conservative to keep supporting existing projects. If we did switch to Java 17 for 5.0, what features and improvements would projects stuck on Java 11 miss out on? Could we possibly support most of them by doing future 4.x releases in parallel for a while? Not for full feature parity perhaps, but for bug fixes and some backported improvements at least. |
Beta Was this translation helpful? Give feedback.
-
If Loom makes it into Java 21 I bet that a lot of web related frameworks and servers like tomcat etc. are going to move to that very swiftly. Loom has been hyped for a number of years now. It will bring very lightweight threads to Java. Currently a preview feature in Java 19. We might end up moving to Java 21 and skipping Java 17 if we don't upgrade this time around. |
Beta Was this translation helpful? Give feedback.
-
For RDF4j version 5 we have the option to move our baseline JDK to 17.
This is annoying for some of us, but allows quite a few new features and some parts of the ecosystem are leading the way (e.g. spring-boot). We should also consider that premier support for java 11 ends sometime in the next 8 months (September 2023).
11 votes ·
Beta Was this translation helpful? Give feedback.
All reactions