Can anyone tell me why Java is still jumping versions around and not as linear? I'm working with people who still use Java 8, and when they see that 11 is next, then 17, and now 19, its getting quite confusing.
The "problem" is that LTS is not a Java announcement, but a vendor announcement. You have to look at your own vendor to see if they will support a given Java version as LTS.
But, in practice everyone WANTS a Java version to be inherently LTS, and that wish is so big, that people just take it as such.
So to many people, Java 17 is inherently LTS, independent of vendor. To make matters worse, non-LTS versions are thought to be alfa, even though it's not true. The believe is so big, that it's adhoc "true".
So in that worldview, Java does jump versions around:
They're publishing new releases every 6 months. 8, 11, and 17 are LTS. I'm assuming those who care about LTS releases won't be installing 19. Also if you're still using 6, 7, or 8, might be the case that you will be stuck with the same version for the next 20-30 years. Supporting 9+ requires changes in the code base.
If you are are 6 or 7 that is likely where that project stays before it is completely rewritten.
I'm leaning more towards that for 8 as well at this point. JDK 11 was released 4 years ago now and if you haven't taken steps to move past 8 you probably aren't ever going to.
Jigsaw was originally intended for Java 7 but was deferred to Java 8 as part of "Plan B". More recently a decision was made to defer it to Java 9 in order to allow more time both for development and for broad review, testing, and feedback"
So those who were expecting a modular Java were already preparing for this in 2011 when Java 7 was orginally released.
Thank you for this information!! I'm unfamiliar with Java's release cycle: Are all java versions LTS or only certain ones? To be a LTS is like a "major" version, like python 2/3, but maybe i'm thinking about this whole release cycle wrong?
Many projects in IT desigate LTS releases to reduce the burden of supporting a large number of versions. If every version was an LTS version, the term would make no sense.
All Java releases are fully supported for production use (edit: not forever of course) There is a new release every six months. Even though there is only limited breakage in most cases, this pace is too fast for many organizations. These should use LTS versions, for which Oracle and other vendors provide longer support.
The current LTS versions are 8, 11, and 17. AFAIK it turned out that three years (the time between 11 and 17) is too long and it will be too challenging for applications to ever migrate. Therefore, the pace was accelerated to two years. The next LTS version will be 21 (probably due in September 2023).
This was exactly what I was looking for, thank you very much!! Where does the announcement of LTS generally happen? Is there like a twitter I can follow or some news source?
The "problem" is that LTS is not a Java announcement, but a vendor announcement. You have to look at your own vendor to see if they will support a given Java version as LTS.
But, in practice everyone WANTS a Java version to be inherently LTS, and that wish is so big, that people just take it as such.
So to many people, Java 17 is inherently LTS, independent of vendor. To make matters worse, non-LTS versions are thought to be alfa, even though it's not true. The believe is so big, that it's adhoc "true".
So in that worldview, Java does jump versions around:
I think most people are still used to the pre-JDK 9 pace, and feel the size of LTS releases to be as big as the old major releases. That's perfectly fine; Oracle et. al. have to make money too :) But applications can really get stuck on LTS versions. Two years is long enough to deprecate and completely remove features from the JDK. Projects can minimize the pain of such disruptive changes by sticking to new releases.
-46
u/iamk1ng Sep 20 '22
Can anyone tell me why Java is still jumping versions around and not as linear? I'm working with people who still use Java 8, and when they see that 11 is next, then 17, and now 19, its getting quite confusing.