Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac Universal and Script stubs both run as Intel on ARM #449

Open
2 of 5 tasks
idontusenumbers opened this issue Dec 5, 2024 · 1 comment
Open
2 of 5 tasks

Mac Universal and Script stubs both run as Intel on ARM #449

idontusenumbers opened this issue Dec 5, 2024 · 1 comment

Comments

@idontusenumbers
Copy link

I'm submitting a…

  • bug report
  • feature request
  • other

Short description of the issue/suggestion:
MacOS SCRIPT and UNIVERSAL stubs both run as x64 (Intel as indicated in Activity Monitor) on an ARM64 machine. Explicitly setting macStartup = "ARM64" produces a .app that runs as Apple

Steps to reproduce the issue/enhancement:

  1. On an Apple Silicon mac, package application into .app using the default macStartup of SCRIPT or explicitly set to UNIVERSAL
  2. Run produced .app

What is the expected behavior?
Activity monitor shows application is running as Apple

What is the current behavior?
Activity monitor shows application is running as Intel

Please tell us about your environment:

  • JavaPackager version: 1.7.6
  • OS version: macOS 15.1.1 (24B2091)
  • JDK version: OpenJDK 64-Bit Server VM Temurin-17.0.13+11
  • Build tool:
    • Maven
    • Gradle
@fvarrui
Copy link
Owner

fvarrui commented Dec 10, 2024

Hi @idontusenumbers!
It seems that Mac OS 15+ has broken JP, since there are a lot of similar issues related to this one😢
@maths22 has contributed to JP with a nativeJavaApplicationStub. Please, read this comment in issue #448 and test it if possible.
Thanks!!

P.S.: I don't have a Mac anymore, so is very difficult for me to test it by myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants