Skip to content
Tech News
← Back to articles

As of JDK 27, Oracle engineers will thus stop maintaining the macOS/x64 port

read original more articles
Why This Matters

Oracle is deprecating the macOS/x64 port in JDK 27 due to Apple's transition to AArch64 processors, signaling a shift away from legacy architecture support. This move aims to reduce maintenance costs and encourage developers to adopt newer platforms. Consumers and developers should prepare for potential future removal of the port and consider alternative solutions.

Key Takeaways

Summary

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

Motivation

Apple has transitioned its hardware products to the AArch64 processor architecture and is phasing out support for x64. Oracle engineers will thus stop maintaining the macOS/x64 port as of JDK 27. Maintaining the port is a significant burden.

Description

An attempt to configure a macOS/x64 build will produce:

$ 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 $

The new build-configuration option --enable-deprecated-ports will suppress the error and continue:

$ bash ./configure --enable-deprecated-ports ... checking compilation type... native configure: WARNING: The macOS/x64 port is deprecated and may be removed in a future release. ... Build performance summary: * Cores to use: 32 * Memory limit: 96601 MB The following warnings were produced. Repeated here for convenience: WARNING: The macOS/x64 port is deprecated and may be removed in a future release. $

There will be no guarantee that the port will build, much less function.

... continue reading