GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Only download jdk-17.0.0 with oracle distribution and java-version 17? · Issue #944 · actions/setup-java

Only download jdk-17.0.0 with oracle distribution and java-version 17? #944

New issue
Copy link
New issue
Copy link
Closed
Closed
Only download jdk-17.0.0 with oracle distribution and java-version 17?#944
Copy link
Assignees
v-mahabaleshwars
Labels
bugSomething isn't working

Description

@HTHou
HTHou
opened on Oct 20, 2025
Issue body actions

Description:
When using the following config, it seems that the oracle jdk 17.0.0 downloaded and installed.

        uses: actions/setup-java@v4
        with:
          distribution: oracle
          java-version: 17
Run actions/setup-java@v4
  with:
    distribution: oracle
    java-version: 17
    java-package: jdk
    check-latest: false
    server-id: github
    server-username: GITHUB_ACTOR
    server-password: GITHUB_TOKEN
    overwrite-settings: true
    job-status: success
    token: ***
  env:
    MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
    MAVEN_ARGS: --batch-mode --no-transfer-progress
    DEVELOCITY_ACCESS_KEY: ***
    GITHUB_TOKEN: ***
Installed distributions
  Trying to resolve the latest version from remote
  Resolved latest version as 17
  Trying to download...
  Downloading Java 17 (Oracle) from https://download.oracle.com/java/17/archive/jdk-17_linux-x64_bin.tar.gz ...
  Extracting Java archive...
  /usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/d30d12ee-64ed-4b58-b2c1-902c8f040390 -f /home/runner/work/_temp/7c76d087-7c67-4b0a-8701-78984b89e55c
  Java 17 was downloaded
  Setting Java 17 as the default
  Creating toolchains.xml for JDK version 17 from oracle

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Expected behavior:
Download the lastest oracle jdk-17, such as 17.0.16.

Activity

  1. HTHou
    added
    bugSomething isn't working
    needs triage
    on Oct 20, 2025
  2. v-priya-kinthali
    removed
    needs triage
    on Oct 21, 2025
  3. v-priya-kinthali commented on Oct 21, 2025

    @v-priya-kinthali
    v-priya-kinthali
    on Oct 21, 2025
    Contributor
    More actions

    Hello @HTHou👋,
    Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.

    Reacted by Haonan
  4. v-mahabaleshwars
    self-assigned this
    on Oct 28, 2025
  5. HTHou commented on Nov 26, 2025

    @HTHou
    HTHou
    on Nov 26, 2025
    Author
    More actions

    I think this issue is similar to #700.

    Oracle changed the license after 17.0.13. https://www.oracle.com/java/technologies/javase/jdk17-0-13-later-archive-downloads.html

  6. v-mahabaleshwars commented on Dec 2, 2025

    @v-mahabaleshwars
    v-mahabaleshwars
    on Dec 2, 2025
    Contributor
    More actions

    Hi @HTHou!

    Just a heads up for anyone using the Oracle distribution with actions/setup-java:

    • Oracle JDK 17 releases up to (and including) 17.0.12 are provided under the Oracle No-Fee Terms and Conditions (NFTC) license, which generally permits free commercial and production use.

    • Beginning with 17.0.13 and later, Oracle JDK 17 builds are only available under the Oracle Technology Network (OTN) License for Java SE. This license is more restrictive and typically requires a paid subscription for most commercial or production uses.

    Recommendation: Pin to an Oracle JDK 17 version ≤ 17.0.12 for now

  7. v-mahabaleshwars commented on Apr 21, 2026

    @v-mahabaleshwars
    v-mahabaleshwars
    on Apr 21, 2026
    Contributor
    More actions

    Hi @HTHou,
    This issue has been addressed via #1001 , which adds documentation to the README noting the Oracle JDK 17 licensing limitation so users are aware of it.
    Closing this issue now as addressed.

  8. v-mahabaleshwars
    closed this as completedon Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @v-mahabaleshwars
    v-mahabaleshwars

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.