openjdk-jfx icon indicating copy to clipboard operation
openjdk-jfx copied to clipboard

In Java 11, the program cannot be started as exe

Open yanzhao77 opened this issue 5 years ago • 0 comments

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

yanzhao77 avatar Dec 20 '19 10:12 yanzhao77