I've build executable jar using NetBeans IDE 11.0 but when I open jar using :
hemlata@hemlata-pc:~/NetBeansProjects/Sizing/dist$ java -jar Sizing.jar
I'm getting
Error: JavaFX runtime components are missing, and are required to run this application
I'm using OpenJDK 11 and OpenJFX 11 on Debian 10
I've added modules in vm option
--module-path /usr/lib/jvm/openjfx11/lib/ --add-modules javafx.controls,javafx.fxml
But this is not problem.
So how to configure JavaFX runtime components that are missing?
I still wonder why Oracle removed JavaFX from the Java distribution and made life for us JavaFX developers such a pain.
But I would recommend to use the Java distributions from Bell soft these distributions have JavaFX included and work out of the box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With