javafx-maven-plugin icon indicating copy to clipboard operation
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

Open logindaten opened this issue 3 years ago • 1 comments

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

1 2

logindaten avatar Mar 11 '21 15:03 logindaten

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.

betanzos avatar Mar 12 '21 00:03 betanzos