`temurin` Distribution unavailable for `windows-latest` and `macos-latest` on JDK 8
Description:
Woke up to find that temurin job doesn't support JDK 8 on windows-latest and macos-latest.
The JDK can be downloaded here, and macOS is listed, so it does have support.
This comment states the same thing for windows-latest.
Task version: v4
Platform:
- [ ] Ubuntu
- [x] macOS
- [x] Windows
Runner type:
- [x] Hosted
- [ ] Self-hosted
Repro steps:
Linked Job: here
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'gradle'
Expected behavior: Installs Temurin JDK 8.
Actual behavior:
Says JDK 8 isn't available
Run actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: gradle
java-package: jdk
check-latest: false
server-id: github
server-username: GITHUB_ACTOR
server-password: GITHUB_TOKEN
overwrite-settings: true
job-status: success
token: ***
Installed distributions
Trying to resolve the latest version from remote
Error: Could not find satisfied version for SemVer '8'.
Available versions: 22.0.1+8, 22.0.0+36, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
Hello @gmitch215, Thank you for creating this issue and we will look into it :)
Same here for windows-latest with major 8 or SemVer 8.0.412+8.
Available versions: 22.0.1+8, 22.0.0+36, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
FYI I can't enable debug logs to manually check the API response https://github.com/actions/setup-java/blob/fd08b9c8dc6f530393a204a04e1f05101a5d00fd/src/distributions/temurin/installer.ts#L137-L139
act -s ACTIONS_STEP_DEBUG=true -P windows-latest=-self-hosted --container-architecture linux/amd64 --pull=false -W .github/workflows/ci.yml
https://github.com/actions/toolkit/blob/HEAD/docs/action-debugging.md#step-debug-logs
This issue is still relevant. Any updates?
Hello @gmitch215, We have started looking into the issue and we will update you once we have some feedback on this :)
"Hello @gmitch215, Thank you for creating this issue. We have investigated the issue and found that there is no JDK8 package available for ARM64 architecture for Temurin, as macos-latest uses ARM64 architecture in this link.
However, we tested using macos-13, which has an x64 architecture, and we were able to successfully set up JDK8 on macos-13. Additionally, we were able to set up JDK8 for Temurin on windows-latest without any issues.
Please find the screenshots for reference.
Please feel free to reach us in case of any further concerns.
Thanks for the update. I found out that JDK 8 is unsupported for Apple Silicon according to their support page, and you mentioned that the windows bug was already fixed, so I'll mark it as closed.