[External] : Re: creating macOS universal applications

Alexey Semenyuk alexey.semenyuk at oracle.com
Wed Mar 6 00:33:57 UTC 2024


Great, you can file a CR, publish a PR. I'll be happy to review it.

- Alexey

On 3/5/2024 7:19 PM, Alan Snyder wrote:
> Yes, I do. The changes are very small.
>
>> On Mar 5, 2024, at 3:48 PM, Alexey Semenyuk <alexey.semenyuk at oracle.com> wrote:
>>
>> On 2/29/2024 2:22 PM, Alan Snyder wrote:
>>> 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.
>>>
>>> The custom launcher is available on GitHub: https://urldefense.com/v3/__https://github.com/violetlib/mac-universal-java-launcher__;!!ACWV5N9M2RV99hQ!Nul4wCJCz3vxtnT4CbMiAAFVAlPVbTHuLFFYYIRSo-KvXLlow1s1wRsCRTMCwZkeU2IOH4djqopjRROvv6nLSDOUkeM$
>> Do you think any of the changes you made in this repo are worth bringing to jpackage launcher?
>>
>> - Alexey
>>> There is some discussion of this issue in JDK-8266259 [https://bugs.openjdk.org/browse/JDK-8266259].
>>> So far, there does not seem to be much interest in this topic.
>>>
>>> On a related note, is there a place where developers using Java on macOS who are not associated with OpenJDK can share information?
>>>
>>>
>>>
>>>
>>>



More information about the core-libs-dev mailing list