JDK 28ではmacOS 27 Golden Gateでサポートが終了したIntel Mac向けOpenJDKが非推奨となり、今後macOS/x64ポートが削除予定に。

JDK 28 macOS 27 Golden Gate
記事内に広告が含まれています。This article contains advertisements.
スポンサーリンク

 JDK 28では、AppleがmacOS 27 Golden Gateでサポートを終了したIntel Mac向けOpenJDKが非推奨となり、今後macOS/x64ポートの廃止を計画しているそうです。詳細は以下から。

OpenJDK

 Appleは日本時間2026年09月15日にリリースした「macOS 27 Golden Gate」でIntel Macのサポートを正式に終了しましたが、それに伴い、OpenJDKが提供しているJDK(Java Development Kit)も次期JDK 28でIntel Macの非推奨化を開始するそうです。

JEP 541: Deprecate the macOS/x64 Port for Removal

Summary
Deprecate the macOS/x64 port, with the intent to remove it in a future release, in order to reduce maintenance costs.

JEP 541: Deprecate the macOS/x64 Port for Removal – OpenJDK

 WWDC26が開催された2026年06月に公開されたJEP 541によると、AppleはハードウェアをAArch64アーキテクチャへ移行し、現在x64のサポートを段階的に終了しているため、OracleのエンジニアもJDK 27以降で負担になるmacOS/x64ポートの保守を停止するという提案がされていました。

JEP 541: Deprecate the macOS/x64 Port for Removal

JEP 541: Deprecate the macOS/x64 Port for Removal

 この提案は、信頼できる開発者のグループが保守を引き継ぐ意思があれば非推奨化を撤回するという代替案がついていましたが、現在のところ次期JDK 28で導入される見込みで、現在Intel MacでJDKのmacOS/x64をビルドすると以下のような警告が出てビルドが停止するようになっています。

JDK 28

$ bash ./configure
...
checking compilation type... native
configure: error: The macOS/x64 port is deprecated and may be removed in a future release. Use --enable-deprecated-ports to suppress this error.
configure exiting with result code 1

 JEP 541ではJDK 28でも”–enable-deprecated-ports”オプションを付ければmacOS/x64ポートがビルドできるとされていますが、今後は正常に動くことも保証しないとのことなので、今後Macの開発環境は急速にApple Silicon Macへシフトしていきそうです。

bash ./configure --enable-deprecated-ports

おまけ

 なお、MacのパッケージマネージャーHomebrewも先月リリースした「Homebrew v7.0.0」でmacOS 11 Big SurからmacOS 26 TahoeまでのIntel Macの扱いをbrewコマンドが動作する可能性はあるがサポートは行わないTier 3へ移行しており、2027年09月には全てのmacOSでIntel Macのサポートを終了すると発表しています。

Homebrew drop support Intel Mac

Apple have dropped Intel x86_64 support in macoS Golden Gate (27). GitHub Actions are dropping macOS Intel x86_64 runners in 2027. Homebrew is a non-profit project run entirely by volunteers, not employees.If the biggest companies in the world cannot support macos Intel x86_64 any longer, sadly neither can we.

brewコマンドより

コメント

タイトルとURLをコピーしました