Reputation: 51
I've had some confusion in trying to create a .exe
file to run my JavaFX application.
In Eclipse I use the VM Argument:
--module-path "\path\to\javafx-sdk-14.0.1\lib" --add-modules javafx.controls,javafx.fxml
But I'm not sure how to add it to Launch4j
to be able to run it. Could someone show me how to add it?
Upvotes: 5
Views: 3825
Reputation: 100
In launch4j, Look under the "JRE" tab. There is a textarea to add JVM options. There is a ScreenShot
Upvotes: 5