Skip to content
Advertisement

Tag: javafx-11

Can JavaFX realistically be used in a non-modular environment?

I’ve attempted to use JavaFX by following instructions found at: https://openjfx.io/openjfx-docs/ under “JavaFX and IntelliJ” -> “Non-modular with Maven” After completing steps 1 & 2 (Installation & Verification) I attempted to run a very simple program from IntelliJ rather than through the Maven plugin. TraderWindow.java TraderWindow.fxml However when I attempted to run it I got: The relevant part: Which, I

Bundle JavaFX app with openjdk 11 + runtime

I’ve created a small HelloWorld Java app that relies on OpenJDK 11 and JavaFX. The app is packaged in a jar file which can only be run if I have installed Java 11 and JavaFX on my system separately. Now I’d like to convert my jar into a self-contained Java application which includes JavaFX and a fully-functional Java runtime environment.

Advertisement