Unable to use 25.0.4+1.1-zulu via .sdkmanrc · Issue #1275 · actions/setup-java · GitHub
Skip to content

Unable to use 25.0.4+1.1-zulu via .sdkmanrc #1275

Closed

Description

@vpavic

This is the same issue as #1267 just for Zulu JDK.

With .sdkmanrc containing:

java=25.0.4+1.1-zulu

Actions running setup-java step fails with:

Run actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a
    with:
      java-version-file: .sdkmanrc
      java-package: jdk
      check-latest: false
      set-default: true
      verify-signature: false
      server-id: github
      server-username: GITHUB_ACTOR
      server-password: GITHUB_TOKEN
      overwrite-settings: true
      job-status: success
      token: ***
      show-download-progress: false
Installed distributions
    Using distribution 'zulu' from .sdkmanrc
    Trying to resolve the latest version from remote
    Error: Java setup process failed due to: No matching version found for SemVer '25.0.4+1.1'.
    Distribution: Zulu
    Package type: jdk
    Architecture: x64
    Available versions: 27.0.0+35, 27.0.0+35, 26.0.2+1, 26.0.2+1, 25.0.4+1, 25.0.4+1, 25.0.3+9, 24.0.2+12, 24.0.2+12, 23.0.2+7, 23.0.2+7, 22.0.2+9, 22.0.2+9, 21.0.12+1, 21.0.12+1, 21.0.11+10, 20.0.2+9, 19.0.2+7, 18.0.2+1, 17.0.20+1, 17.0.20+1, 17.0.19+10, 16.0.2+7, 15.0.10+5, 14.0.2+12, 13.0.14+5, 12.0.2+3, 11.0.32+1, 11.0.31+11, 10.0.2+13, 9.0.7+0, 8.0.504+1, 8.0.492+9, 8.0.292+10, 8.0.201+10, 8.0.163+1, 7.0.352+1, 6.0.119+119, 26.0.2+10, 26.0.2+10, 26.0.1+8, 26.0.1+8, 26.0.0+35, 26.0.0+35, 25.0.4+7, 25.0.4+7, 25.0.3+9, 25.0.2+10, 25.0.2+10, 25.0.2+10, ...
    (showing first 50 of 305 versions, enable debug mode to see all)
    Error: No matching version found for SemVer '25.0.4+1.1'.
    Distribution: Zulu
    Package type: jdk
    Architecture: x64
    Available versions: 27.0.0+35, 27.0.0+35, 26.0.2+1, 26.0.2+1, 25.0.4+1, 25.0.4+1, 25.0.3+9, 24.0.2+12, 24.0.2+12, 23.0.2+7, 23.0.2+7, 22.0.2+9, 22.0.2+9, 21.0.12+1, 21.0.12+1, 21.0.11+10, 20.0.2+9, 19.0.2+7, 18.0.2+1, 17.0.20+1, 17.0.20+1, 17.0.19+10, 16.0.2+7, 15.0.10+5, 14.0.2+12, 13.0.14+5, 12.0.2+3, 11.0.32+1, 11.0.31+11, 10.0.2+13, 9.0.7+0, 8.0.504+1, 8.0.492+9, 8.0.292+10, 8.0.201+10, 8.0.163+1, 7.0.352+1, 6.0.119+119, 26.0.2+10, 26.0.2+10, 26.0.1+8, 26.0.1+8, 26.0.0+35, 26.0.0+35, 25.0.4+7, 25.0.4+7, 25.0.3+9, 25.0.2+10, 25.0.2+10, 25.0.2+10, ...
    (showing first 50 of 305 versions, enable debug mode to see all)

The same likely affects other releases with similar format:

$ sdk list java | grep ".*\+1\.1-zulu"
                |     | 26.0.2+1.1         | 26.0.2+1.1-zulu
                |   * | 25.0.4+1.1         | 25.0.4+1.1-zulu
                |   * | 21.0.12+1.1        | 21.0.12+1.1-zulu
                |   * | 17.0.20+1.1        | 17.0.20+1.1-zulu
                |     | 11.0.32+1.1        | 11.0.32+1.1-zulu

Activity

  1. v-chiranjib-swain commented on Oct 1, 2026

    @v-chiranjib-swain

    Hi @vpavic,

    Thanks for creating this! We’ll review it and get back to you once we have some feedback.

  2. added a commit that references this issue on Oct 2, 2026
    74920aa
  3. brunoborges commented on Oct 2, 2026

    @brunoborges
    Contributor

    @vpavic can you please test the changes, using @main as the version?

  4. vpavic commented on Oct 2, 2026

    @vpavic
    Author

    Looks good, setup-java step was successful with @main:

    Run actions/setup-java@main
        with:
          java-version-file: .sdkmanrc
          java-package: jdk
          check-latest: false
          force-download: false
          set-default: true
          server-id: github
          mvn-repositories-include-central: true
          mvn-repositories-prioritize-central: true
          overwrite-settings: true
          cache-read-only: false
          job-status: success
          token: ***
          show-download-progress: false
          problem-matcher: true
    Installed distributions
        Using distribution 'zulu' from .sdkmanrc
        Trying to resolve the latest version from remote
        Resolved latest version as 25.0.4+1.1
        Trying to download...
        Downloading Java 25.0.4+1.1 (Zulu) from https://cdn.azul.com/zulu/bin/zulu25.36.205-ca-jdk25.0.4.1-linux_x64.tar.gz ...
        Extracting Java archive...
        /usr/bin/tar --use-compress-program /usr/bin/pigz -d -x --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/f33a883f-61ff-41e9-a1ef-596b7b98530a -f /home/runner/work/_temp/250c2615-40eb-4a45-a5ee-3c63b953dc84
        Java 25.0.4+1.1 was downloaded
        Setting Java 25.0.4+1.1 as the default
        Java configuration:
          Distribution: zulu
          Version: 25.0.4+1.1
          Path: /opt/hostedtoolcache/Java_Zulu_jdk/25.0.4-1.1/x64
      Creating settings.xml with server-id: github
      Creating toolchains.xml for JDK version 25.0.4+1.1 from zulu
      Writing to /home/runner/.m2/settings.xml
      Writing to /home/runner/.m2/toolchains.xml
      Configured MAVEN_ARGS to include -ntp to suppress Maven transfer progress logs. Set 'show-download-progress: true' to keep the download progress output.
    

    Thanks for the prompt fix @brunoborges.

  5. vpavic commented on Oct 14, 2026

    @vpavic
    Author

    Are there any plans for a release containing the fix for this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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