openjdk-jfx
openjdk-jfx copied to clipboard
In Java 11, the program cannot be started as exe
In Java 11, JavaFX must be able to bind with the command line to start the program normally,
such as
java --module-path“路径/到/ javafx-sdk-11 / lib” --add-modules = javafx.controls --add-modules = javafx.swing -jar“路径/到/jpedal.jar”
But I need to type the program into jar package and then make it into exe. Then, the program will explode and cannot be started. How can I solve the problem of using JavaFX directly in the program without using configuration