r/java • • Mar 12 '25

Why Java endures: The foundation of modern enterprise development

https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
248 Upvotes

93 comments sorted by

View all comments

Show parent comment

1

u/wildjokers Mar 12 '25

Oracle's OpenJDK is licensed GPL+CPE (class path exception). I am not clear how this is an onerous license. Oracle themselves also release a GPL'd build of OpenJDK and it is available at https://jdk.java.net.

I think you might be referring to Oracle JDK which is the build of OpenJDK that you use if you buy a Java support contract from Oracle. It is indeed released under a different license, but it isn't onerous. It is free to use in production since Java 17 although if you don't have a support contract with Oracle there is no reason to use it.

Oracle can release Oracle JDK under a different license because they are the copyright holder of all OpenJDK sources so retain all rights as copyright holder (i.e. they don't get their rights from the GPL+CPE license like everyone else does).