fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 134 forks source link

mac packaging with Apple silicon #364

Closed nemqooo closed 1 year ago

nemqooo commented 1 year ago

Hello, packaging JavaFX app on mac with apple sillicon failed on "bless: The 'openfolder' is not supported on Apple Silicon devices". Packaging on mac with intel works without any major issues. Is there a way how to solve this please? Thank you

Snímka obrazovky 2023-10-02 o 9 54 07

fvarrui commented 1 year ago

Hi @nemqooo! Which JavaPackager version are you using?

fvarrui commented 1 year ago

Sorry for the delay

fvarrui commented 1 year ago

If you are using the latest JP version and os.arch system property is not equal to aarch64, maybe you are running an x64 JDK in compatibility mode using Rosetta??

nemqooo commented 1 year ago

Hello @fvarrui , what a "stupid" mistake, I am sorry. I was using the 1.6.2 version, now with the 1.7.2 it works flawlessly. I haven't noticed that, thank you!

fvarrui commented 1 year ago

Great! Happy to hear that 😃