openjdk: Intel macOS build fetches arm64 boot JDK → "Bad CPU type in executable" #7140
I was trying tobrew upgrade openjdk (27 → 27.0.1.0.2) on an Intel Mac. No bottle is available for this platform, so Homebrew falls back to building from source. Configure rejects the downloaded boot JDKconfigure: Found potential Boot JDK using configure arguments The arm64 boot JDK resource is selected on Intel hosts~/Library/Caches/Homebrew/downloads/620ea5991485d72e22fc8aba6db2e6ec91b0ca3fa652c509f558abc3d3e1d6dc--openjdk-27_macos-aarch64_bin.tar.gz brew configHOMEBREW_VERSION: 7.0.10 ReproductionReproduced after clearing all caches, on a fully updated Homebrew: |
Replies: 2 comments
This comment was marked as low quality.
This comment was marked as low quality.
|
That's correct, there is no boot JDK defined in https://github.com/Homebrew/homebrew-core/blob/91cb620fbf083e1303a061d81e3c34eaea559ff3/Formula/o/openjdk.rb#L54-L70 since the OpenJDK devs no longer build for intel macOS. |
That's correct, there is no boot JDK defined in https://github.com/Homebrew/homebrew-core/blob/91cb620fbf083e1303a061d81e3c34eaea559ff3/Formula/o/openjdk.rb#L54-L70 since the OpenJDK devs no longer build for intel macOS.