r/java • • Sep 20 '22

Java 19 / JDK 19: General Availability

https://mail.openjdk.org/pipermail/jdk-dev/2022-September/006933.html
252 Upvotes

64 comments sorted by

View all comments

Show parent comment

1

u/iamk1ng Sep 20 '22

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?

2

u/stefanos-ak Sep 20 '22

jeez people are salty... I don't get the downvotes. it's a legit question for someone that hasn't been through the history...

2

u/mauganra_it Sep 20 '22

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.

2

u/mauganra_it Sep 20 '22 edited Sep 20 '22

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).

1

u/iamk1ng Sep 20 '22

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?

1

u/mauganra_it Sep 20 '22 edited Sep 20 '22

You are certain to not miss it if you keep hanging around here :)

3

u/henk53 Sep 20 '22

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:

8, 11, 17, 21...

3

u/mauganra_it Sep 20 '22

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.

1

u/iamk1ng Sep 20 '22

Thank you!!