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

bundleJRE not working on Mac - is Apple Silicon supported? #116

Open
Robert-Adelard opened this issue Feb 6, 2023 · 1 comment
Open

Comments

@Robert-Adelard
Copy link

Hello,

I'm attempting to bundle a JRE with my application, but when I start up the application, I see the error message:

Unable to load Java Runtime Environment

I've looked inside the application package and everything looks OK - in particular, the Plugins folder contains a JRE.

This has previously worked on an Intel MacBook Pro, so I'm wondering whether the problem is caused by using an M1 MacBook Pro.

Any thoughts on what might be wrong or how to debug the problem?

Thanks.

Robert

@Horcrux7
Copy link
Member

Horcrux7 commented Feb 6, 2023

You need to build two installer. One for every platform. You need to bundle the Java VM for the given platform. A sample can found ind the PDFC download.

You need also set the architecture for the dmg task in this case.

Theoretical it is possible to build an installer for both with an x86 Java VM with a limited function and limited performance.

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