I have written JavaFX app with Maven, now I want to convert it to executables. I was successful at generating .exe file for Windows using launch4j-maven-plugin
, for mac I'm using appbundle-maven-plugin
, it generates .app
, but it doesn't work (for M1), saying JRELoadError
, I think it's because of my cpu architecture as I'm not using x86 one, I've tried with few versions of jdk, including one that I use to launch it in IntelliJ.
So my complete question is this: How to get M1 mac compatible .app
from Java GUI Maven project? (I prefer to have as a Maven plugin if possible).