I have a JavaFX 8 application with a preloader, which works nicely on Windows, Linux and macOS.
I'm currently using NetBeans to package my app into a native macOS bundle, which give me the required folder tree for the application and the embedded JRE, along with a default content for Info.plist and an automatically compiled native executable, which is used to launch my app with the embedded JRE.
The thing is I don't want to be tied to NetBeans to generate this bundle. And the only thing that prevents me to be independent from NetBeans is that automatically compiled native executable, for which I don't have the source code.
I tried to browse NetBeans source code to find how this native executable is generated to no avail. Does anybody have any idea about how it's generated?