openjfx-docs
openjfx-docs copied to clipboard
JavaFX HelloWorld Failed to run
Hi! I followed the instructions on the JavaFX website (https://openjfx.io/openjfx-docs/#introduction) then I entered my HelloWorld program, and ran into this problem below. Please tell what I did wrong. Thanks run: Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found C:\Users\W1\Documents\NetBeansProjects\ChangingTextFonts\nbproject\build-impl.xml:1330: The following error occurred while executing this line: C:\Users\W1\Documents\NetBeansProjects\ChangingTextFonts\nbproject\build-impl.xml:936: Java returned: 1
•info on the the build-impl.xml: 1330 line
j2seproject1:java
•info on the second error on build-impl: 936 line
@JavaFXBeginner : Please provide information like if you are trying to run at a command prompt or from IDE? Most probably you are missing --add-modules javafx.controls,javafx.fxml as you VM Argument.