Remix.run Logo
lukev 3 days ago

> If I forget to update OpenJDK, Oracle could come after me.

What?

Foomf 3 days ago | parent [-]

Licensing for OpenJDK is non trivial. Look at the large table and various bullet points Oracle had to make to tell you the license. https://www.oracle.com/java/technologies/javase/jdk-faqs.htm... (open the first dropdown on their FAQ page to open up their "licensing matrix")

This is a mess, and is the license going to change again while I'm locked in the java ecosystem?

Edit: It looks like the openjdk is consistently under the gplv2, I don't know why it has so many different entries in their table. I think I probably got opendjk and oracle jdk mixed up. I think the person I was replying to who said openjdk needs to be updated every half year got confused as well. It's so hard to even talk about all the different jdks without getting them mixed up or confused. Again, no other java competitors have this problem.

cbm-vic-20 3 days ago | parent | next [-]

Licensing for OpenJDK is trivial (GPLv2+Classpath). Just like gcc/g++ and its runtime library exception.

Licensing for Oracle JDK is more complicated. This is the one where you can use it for free, but after the next LTS you either have to move to the LTS or pay for updates. There's no reason to use Oracle JDK unless you want to pay for support from Oracle, or if your applications specifically require Oracle JDK. Oracle JDK is built from the same source as OpenJDK.

https://blogs.oracle.com/java/post/free-java-license

extraduder_ire 2 days ago | parent [-]

What is even the benefit to using Oracle JDK at this point? Years ago, I saw that some jetbrains IDEs said to use it instead of openJDK, but I haven't seen anything else like that.

lenkite 2 days ago | parent [-]

Oracle JDK offers LTS support with regular security patches and critical bug fixes, even for older LTS releases. (More than a decade plus, I believe, but need to check)

OpenJDK community builds usually only provide updates until the next release (6 months).

Oracle offers paid commercial support contracts: guaranteed patch timelines, 24/7 enterprise support, performance issue troubleshooting, and compliance assurance.

You can also built features atop the Oracle JDK and still get support. SAPJVM does this for instance - hot debugging as a feature.

lenkite 2 days ago | parent | prev [-]

> Licensing for OpenJDK is non trivial.

?? It is very simple. Please go to the OpenJDK site and read the below:

https://openjdk.org/legal/gplv2+ce.html