3

Is jdk downloaded from oracle through the following link is under GPL license, as I thought it's not https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

and if it's not GPL licensed, why the openjdk site is recommending that I download jdk from oracle and claiming that it's under GPL license https://jdk.java.net/java-se-ri/11

These binaries are provided for use by implementers of the Java SE 11 Platform Specification and are for reference purposes only. This Reference Implementation has been approved through the Java Community Process. Production-ready binaries under the GPL are available from Oracle; and will be in most popular Linux distributions

Mina
  • 135
  • 10

2 Answers2

1

You see before downloading the JDK from the URL https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

you need to accept their Oracle Technology Network License Agreement for Oracle Java SE that binary is not under GPL if you accepted it (it's a trap from Oracle)

the page does provide a binary that is provided under the GPL but it is somewhat hidden in that page this is the link that they provide https://jdk.java.net/

Karim
  • 1,004
  • 8
  • 18
  • Same thing with jdk 8 why is it different with 11, at https://jdk.java.net/ they say that I should get the GPL release from oracle site "Production-ready binaries under the GPL are available from Oracle; and will be in most popular Linux distributions" – Mina Jan 13 '20 at 16:10
0

Short answer

Download openJDK and its latest updates from https://adoptopenjdk.net/

Oracle JDK is not GPL

Thanks a million @bhspencer

Long answer

I was looking for the updated openJDK 11 at https://jdk.java.net/ or at https://openjdk.java.net/

but both links don't provide clear download links for openJDK latest updates.

A lead can be found here https://openjdk.java.net/projects/jdk-updates/ that led me to double check that https://adoptopenjdk.net/ is the right place to download from

Again thanks a lot @bhspencer

Mina
  • 135
  • 10