r/java • • Sep 14 '21

Java 17 available now!

410 Upvotes

83 comments sorted by

View all comments

Show parent comments

13

u/cogman10 Sep 14 '21

This may be confusing, but there are different builds of the JDK with different licenses.

Oracle has a commercial build which has LTS support. That's what you have to pay for.

The regular OpenJDK build on java.net is built by oracle but has no LTS support. It is free to use (even commercially) but is only supported until the next version.

Then there are a bunch of other OpenJDK builds (Like AdoptOpenJDK) with different terms for support.

24

u/pron98 Sep 14 '21

That's what you have to pay for.

Had to pay for. No more, as of today :)

20

u/Hangman4358 Sep 14 '21

404 error from the link.

I know you do a lot of good work for the community pron98, but man, this licensing stuff has become so confusing to try to explain to managers and non technical folks.

"We can use the Oracle OpenJDK builds or the OpenJDK builds from others like Adoptum which is now whatever the Eclipse foundation is calling them but we can't use the OracleJDK builds unless we want to pay for support, but only up to 17, because 17 OracleJDK is now free for commercial. And also LTS doesn't really mean LTS and we should be updating to every version."

At least for us, we are now finally at a point where we could theoretically start updating to the latest every release but the constant changes to naming, licensing and the confusing LTS labels is making management and legal weary that we will need someone with a PhD in Java releases to keep it all strait.

9

u/pron98 Sep 14 '21 edited Sep 14 '21

At least for us, we are now finally at a point where we could theoretically start updating to the latest every release

That should make everything very simple.

I don't know if the terms for the various support services from the various vendors are as simple as they can be, but that's not my area. You have enough choices so that you can choose what to do when your application's maintenance slows down and you want to settle down with long-term support. Until then, using the current version, if you can, is the cheapest, safest, simplest approach.