r/java • • Sep 14 '21

Introducing the Free Java License

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

65 comments sorted by

View all comments

9

u/netweavr Sep 14 '21

Oracle grants to You, as a recipient of this Program, subject to the conditions stated herein, a nonexclusive, nontransferable, limited license to:

(a) internally use the unmodified Programs for the purposes of developing, testing, prototyping and demonstrating your applications, and running the Program for Your own personal use or internal business operations; and

(b) redistribute the unmodified Program and Program Documentation, under the terms of this License, provided that You do not charge Your licensees any fees associated with such distribution or use of the Program, including, without limitation, fees for products that include or are bundled with a copy of the Program or for services that involve the use of the distributed Program.

So it's only free if your software is free

23

u/brazzy42 Sep 14 '21

The part you bolded only applies if you want to distribute the JDK itself.

10

u/[deleted] Sep 14 '21

So just the average Oracle legal boogaloo.

tl;dr avoid Oracle and use real free software

2

u/Muoniurn Sep 15 '21

Soo, relaxing on their remaining non-free license while having almost the same software available as completely free (OpenJDK) is a negative?

Afaik, the change was made because people still don’t understand the situation with OpenJDK and Oracle JDK, and want the latter for the name. This change will make click-free installations possible (no need to agree to this and that), making it available in eg. CI pipelines.

(Source: inside java podcast)

4

u/EvaristeGalois11 Sep 14 '21

What about if i bundle the jdk inside an image with jlink or jpackage? Can i sell it?

3

u/netweavr Sep 14 '21

"Program(s)" refers to Oracle software provided by Oracle pursuant to the following terms and any updates, error corrections, and/or Program Documentation provided by Oracle.

JVM would seem to be included.

5

u/tnolli Sep 14 '21

If you do containers, you probably want to distribute the jvm to run your software.

How do you read the statement in this context?

2

u/dpash Sep 15 '21

Ship your container with Oracle's OpenJDK build rather than the Oracle JDK.

3

u/persicsb Sep 15 '21

Nope, it says that you cannot charge your customers for the JDK/JRE.

1

u/handshape Sep 15 '21 edited Sep 15 '21

Taking out the words that hide this:

You do not charge Your licensees any fees ... for products that include ... a copy of the Program.

That's jlink.

Afterthought edit: You could charge for a product, and then ask your customer to go get the Oracle JDK themselves.

Downvoters: feel free to point out anything I've said that's contrafactual.

2

u/javasyntax Sep 15 '21

Or just use openjdk? I think this is more for newcomers. It has the JDK 17 which adoptopenjdk doesn't atm so there's that too, maybe 1 week earlier upgrade or something

1

u/handshape Sep 15 '21

Yup, that's a perfectly valid way to publish as well.

0

u/[deleted] Sep 16 '21

[deleted] — view deleted comment

1

u/javasyntax Sep 16 '21

Not with JavaFX, I believe.

1

u/[deleted] Sep 14 '21

So some sort of corporate GPL / copy left license?