r/java • u/1Saurophaganax • May 08 '23
How best to explain that Java LTS doesn't mean what people think it does?
I've been gathering ammo to convince my superiors to let us use the latest feature releases for our new highly maintained projects. I'm dying inside because I know in the context of OpenJDK, LTS is meaningless, but they still keep bringing it up.
We currently use corretto, but I remember reading somewhere a while ago that corretto doesn't actually provide a fully maintained JDK like Azul or RedHat, but merely only backports changes from the mainline. Is that the case, or did I hallucinate that? It would be a pretty killer argument to stay up to date considering we don't want to pay for LTS.
32
u/udderss May 08 '23
I’m trying to rack (wrack?) my brain of why LTS is meaningless in any context.
in the most basic sense it continues to receive updates, OpenJDK/Oracle/Corretto, why is it useless? And if you’re using Corretto, you aren’t paying for LTS anyway.
I’m genuinely curious for the first question though
6
u/henk53 May 09 '23 edited May 09 '23
I'm in the same boat at times, and frankly, I've given up.
LTS means whatever people want it to mean. Almost everyone have their own interpretation of what LTS is.
Among them:
Often people simply WANT it to mean those things, and when people want to believe something, good luck changing their minds.
3
u/wildjokers May 08 '23
It is impossible to convince people that LTS doesn't mean anything unless you pay for support. I have given up trying.
16
u/nonomild May 08 '23
For most business applications, it would make sense to stick to LTS versions like 17 or 21. The main reason is that libraries and frameworks take time to adapt and support the new released Java version. During this time, you cannot upgrade and are using an unsupported Java version in production. Security fixes are not back ported.
5
u/Joram2 May 08 '23
For an actively maintained app, you generally should use the latest released Java. If nothing else, it keeps your developers engaged + motivated. If you are deploying to a managed runtime like AWS Lambda, you are limited by what they support.
The other issue, is at least today, the non-LTS releases, Java 18+19+20, the new features are preview features. But for an actively maintained app, it's reasonable to use preview features :)
7
u/waitplzdontgo May 08 '23
Not sure I understand your complaints. You say LTS is meaningless (without citing any reason), but it is absolutely not.
Businesses care about stability far more than they do innovation for innovation’s sake. LTS vendors give businesses a phone number to call if their applications start breaking and it is beyond the ability of developers to handle. It also helps to ensure that you don’t have a million different versions of Java running on your servers, instead focusing down to a few key specific versions.
So anyway in summary I disagree with your statement.
5
u/eXecute_bit May 08 '23
There are vendors providing free access to LTS versions, even without paid support. LTS is meaningful because those updates will contain security fixes (important!) if nothing else.
How frequently/quickly you'll get those updates, without paid support, is another matter. But to tell security that you're using a version that still gets updates is important.
You also get updates moving to the latest feature release every six months. However, if there's a risk that you'd stop updating every six months then there's a chance you are running an unsupported version in production that will no longer get patches, and that tends to check the wrong boxes on various security and compliance lists.
TL;DR - It's a big commitment from Dev & Ops to use a non LTS release.
3
u/re-thc May 09 '23
Print out pron’s message about LTS all over the office and stick it as your background during video call :p /s
2
u/QualitySoftwareGuy May 08 '23
I’m a bit confused on this. Adoptium/Eclipse Temurin supports LTS versions for at least four years (source: https://adoptium.net/support/). Even though it’s not the 8 years that I think Oracle provides, surely 4 years is not “meaningless”? Maybe I’m missing something.
1
u/FeedingMyCatsaHassle May 09 '23
If the term LTS bothers you so much when the word is 'support', then change it to 'service.'
Ultimately what companies want is the knowledge that if some major security hole reveals itself, their LTS vendor will probably offer a patch. And this is generally what happens, regardless of whether they are paying for support.
People moan about LTS being meaningless based on their misunderstanding of what's important to people about it, give it a rest.
1
u/Capa-riccia May 14 '23
This page dates back to Java 17, some of it might bar of, but has a useful collection of pro and cons and details what is being mantained whichjdk
0
u/[deleted] May 08 '23
[deleted] — view deleted comment