Search code examples
javajavafxnetbeansopenjfx

Netbeans : JavaFX components are missing


I'm beginning with Java and I've tried installing JavaFX on Netbeans, but I can't run anything because I get an error saying that JavaFX runtime components are missing.

I followed the instructions on the OpenJFX website and everything seemed to work fine.

I'm using Java 13 on Netbeans 11.1

Any idea where the problem is ?


Solution

  • I was missing some VM options

    --module-path "\path\to\javafx-sdk-12\lib" --add-modules javafx.controls,javafx.fxml
    

    Many thanks @Eritrean !