-
Notifications
You must be signed in to change notification settings - Fork 843
Add Oracle JDK 17 licensing limitation note #1001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -129,6 +129,8 @@ Currently, the following distributions are supported: | |||||
|
|
||||||
| **NOTE:** To comply with the GraalVM Free Terms and Conditions (GFTC) license, it is recommended to use GraalVM JDK 17 version 17.0.12, as this is the only version of GraalVM JDK 17 available under the GFTC license. Additionally, it is encouraged to consider upgrading to GraalVM JDK 21, which offers the latest features and improvements. | ||||||
|
|
||||||
| **NOTE:** Oracle JDK 17 versions up to 17.0.12 are provided under the NFTC license (free for commercial use). Versions 17.0.13 and later are under the OTN license (restricted). If you need Oracle JDK 17 under the NFTC license, use `distribution: 'oracle'` and explicitly pin `java-version: '17.0.12'` (or an earlier 17.0.x version) rather than the floating `java-version: '17'`. Alternatively, upgrade to Oracle JDK 21 or later, which remains available under the NFTC license. | ||||||
|
||||||
| **NOTE:** Oracle JDK 17 versions up to 17.0.12 are provided under the NFTC license (free for commercial use). Versions 17.0.13 and later are under the OTN license (restricted). If you need Oracle JDK 17 under the NFTC license, use `distribution: 'oracle'` and explicitly pin `java-version: '17.0.12'` (or an earlier 17.0.x version) rather than the floating `java-version: '17'`. Alternatively, upgrade to Oracle JDK 21 or later, which remains available under the NFTC license. | |
| **NOTE:** Oracle JDK 17 licensing varies by patch level. Versions up to 17.0.12 are provided under the [Oracle No-Fee Terms and Conditions (NFTC)](https://www.oracle.com/downloads/licenses/no-fee-license.html) license (free for commercial use), while versions 17.0.13 and later are under the [Oracle Technology Network License Agreement (OTN)](https://www.oracle.com/downloads/licenses/javase-license1.html) (restricted). If you need Oracle JDK 17 under the NFTC license, use `distribution: 'oracle'` and explicitly pin `java-version: '17.0.12'` (or an earlier 17.0.x version) rather than the floating `java-version: '17'`. Alternatively, upgrade to Oracle JDK 21 or later, which remains available under the NFTC license. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This note makes specific licensing assertions (NFTC up to 17.0.12, OTN from 17.0.13+, and that JDK 21+ is NFTC) but doesn’t cite the applicable Oracle license terms. To avoid accidentally misleading users if Oracle’s licensing changes again (or if the cutover version differs), consider linking to the NFTC and OTN license pages and phrasing the guidance more defensively (e.g., “verify the license for the exact patch version”). Also, since setup-java’s Oracle installer tries
/java/<major>/latest/...and falls back to/java/<major>/archive/jdk-<range>...when/latestis missing, it may be worth explicitly mentioning thatjava-version: '17'can fall back to downloadingjdk-17(GA) rather than the latest patch, so users should pin to the exact patch they need.