javafx-maven-plugin
javafx-maven-plugin copied to clipboard
Program arguments will not be part of the runnable JAR. Arguments can be passed on the command line when launching the JAR
I would like to export a JavaFX program to call it up on the desktop.
When I want to export the file, the message appears: Program arguments will not be part of the runnable JAR. Arguments can be passed on the command line when launching the JAR
The program notes that the Run configuration parameters cannot be taken. Without these arguments, however, the program will not work --module-path "C: \ Program Files \ Java \ javafx-sdk-16 \ lib" --add-modules javafx.controls, javafx.fxml
How can I work around this error?
Thank you for the feedback
That is not an error. Eclipse is telling you that "dont forget that this cli configuration will not be part of your JAR and maybe you need it at runtime".
That problem is out of scope if this plugin use cases.