JDK 27 将弃用 macOS x64
推荐指数 50.0 NO. 009 · 2026.07.25
发布2026/07/24Score85Comments80
为什么值得看
OpenJDK 正式提议在 JDK 27 中弃用 macOS/x64 端口,后续版本将彻底移除。这意味着仍在 Intel Mac 上跑 Java 服务的团队必须迁移到 ARM 或 Linux 环境,维护窗口正在关闭。
编辑判断
Oracle 停维护不等于立刻不能用,但风险在于社区补丁和安全更新的滞后。Spring Boot、Elasticsearch 等主流 Java 生态对 ARM 的适配早已完成,真正的卡点往往是企业内部的遗留 JNI 库或原生依赖。
还在用 Intel Mac 做本地开发的工程师,现在就该验证 CI/CD 流水线在 ARM 镜像上的表现,而不是等到生产环境踩坑。对于采购新设备的团队,M 系列 Mac 已经是事实上的唯一选择,这个 JEP 只是给了一个官方 deadline。
社区反馈
意见分歧 62 条评论
核心争论:弃用时机是否合理:Intel Mac 存量仍达20-25%,但苹果已终止支持
相关内容
Totally makes sense, macOS Golden Gate will no longer run x64 apps.
This keeps getting posted and is not true. Rosetta is still present and working. It throws a deprecation warning notice but otherwise runs fine. It's macOS 28 that will no longer run x86_64 apps, although games are exempt. Rosetta is basically going game only at that point. They haven't announced ho
Have they announced how they’re going to make it game only? A whitelist based on a hash of the executable? That seems cumbersome.