Skip to content

Can't install temurin java 8 for macos #625

Description

@DorianMazur

Description:
My workflow is failing because java 8 is no longer available for macos -> https://github.com/dherault/serverless-offline/actions/runs/8815659321/job/24201682104?pr=1779

https://api.adoptium.net/v3/assets/version/%5B1.0,9.0%5D?project=jdk&vendor=adoptium&heap_size=normal&sort_method=DEFAULT&sort_order=DESC&os=mac&architecture=aarch64&image_type=jdk&release_type=ga&jvm_impl=hotspot&page_size=20

Task version:
v3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
On macos arm64 runner:

      - uses: actions/setup-java@v3
        with:
          distribution: "temurin"
          java-version: "8"

Expected behavior:
It should be possible to install java 8 on macos

Actual behavior:
It's not possible to install java 8 on macos

Activity

  1. chrjohn commented on Apr 24, 2024

    @chrjohn

    Did I miss the announcement that this is going to be no longer supported? Our test suite is also failing for JDK8 on MacOS with setup-java@v4.
    https://github.com/quickfix-j/quickfixj/actions/runs/8811578898/job/24194984329

  2. slawekjaranowski commented on Apr 24, 2024

    @slawekjaranowski
  3. DorianMazur commented on Apr 24, 2024

    @DorianMazur
    Author

    @slawekjaranowski Ah, good to know. Thanks!

  4. v-HarithaVattikuti commented on Apr 26, 2024

    @v-HarithaVattikuti
    Contributor

    Hello @DorianMazur
    Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.

  5. linghengqian commented on May 6, 2024

    @linghengqian
  6. v-mahabaleshwars commented on May 6, 2024

    @v-mahabaleshwars
    Contributor

    Hello @DorianMazur,
    The issue is due to the incompatibility between the macos-latest (macOS-14) runner and Temurin version 8. The runner supports arm64, whereas Temurin version 8 is designed for the x86 architecture. You can resolve this by switching to the Zulu distribution, which provides arm64 support for macOS in JDK 8, or alternatively, use Temurin Java version 11. Hence we are proceeding to close this issue.
    Please feel free to reach us in case of any further concerns/clarifications needed.

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

Metadata

Metadata

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