Hi dear community
I've made this simple JavaFX application, it only has one class myclass.MyClass, and it has a view.fxml resource.
I am using IntelliJ on a Mac M1, and it compiles and runs fine.
The problem is to export it.
In an ideal world, I would like to have a proper executable (a file you can double-click on) for Mac Apple Silicon, for Mac Intel, for Windows, and for Linux.
But for now I would be happy just to have a way to distribute it, at least to another Mac. For example an executable jar would work great, then I can ask people to install their own JRE.
I've been all over the web trying all sorts of things, and I do not know Maven or Gradle so ideally I would rather just simply use cmd line commands.
The further I've got is following open jfx dot io tutorial (this forum does not let me put the link here sorry), and the last jlink step
( jlink --module-path $PATH_TO_FX_MODS:mods --add-modules hellofx --output hellofx )
got me this folder with a bunch of stuff (including java) which seems to run fine on its own, as long as it's a Mac M1. I cannot see a jar file in there though, and ideally I would want to distribute this on Mac with intel processors.
Thank you very much in advance
Simon