Hi, I'm trying to create some runnable standalone apps with JavaFX, and one of the tools I'm trying to use is JPackage.
I thought it might be something with my app, so I decided to try it out with the basic hello-world intellij javafx default program.
Script:
jpackage --type msi --app-version "1.0"--name "Demo App with JavaFX" --input . --dest . --main-jar .\demo.jar --main-class com.example.demo.HelloApplication --module-path "C:\Users\****\OneDrive\Documents\javafx-jmods-20.0.1" --add-modules javafx.controls,javafx.fxml --win-shortcut
I can get the installer to be created, the app to install, but not to get the actual javafx app to run. Does anyone have any experience with getting apps to run with JPackage or a similar packager to run?
Or is there a easier way of creating an executable jar from a JavaFX app?