<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">For anyone interested in building Java-based macOS universal applications, it is possible to create a bundled application that contains two Java runtimes, one for x86 and one for arm. A custom launcher is required to select the appropriate runtime based on the execution environment. I have created such a launcher; it is a very small modification of the macOS launcher used by jpackage.<div><br></div><div>The custom launcher is available on GitHub: <a href="https://github.com/violetlib/mac-universal-java-launcher">https://github.com/violetlib/mac-universal-java-launcher</a></div><div><br></div><div>There is some discussion of this issue in JDK-8266259 [https://bugs.openjdk.org/browse/JDK-8266259].</div><div>So far, there does not seem to be much interest in this topic.</div><div><br></div><div>On a related note, is there a place where developers using Java on macOS who are not associated with OpenJDK can share information?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>