Trying to get JavaFX 11 working.
- Downloaded JavaFX 11
- Created JavaFX project in IntelliJ IDEA
- Run -> Edit configurations -> VM options -> --module-path="path-to-javafx/javafx-sdk-11.0.1/lib" --add-modules=javafx.controls,javafx.fxml
Got an error:
Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found Process finished with exit code 1
What should I do to make this work?