Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX HelloWorld Failed to run #228

Open
JavaFXBeginner opened this issue Mar 3, 2023 · 1 comment
Open

JavaFX HelloWorld Failed to run #228

JavaFXBeginner opened this issue Mar 3, 2023 · 1 comment

Comments

@JavaFXBeginner
Copy link

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



</j2seproject1:java>

•info on the second error on build-impl: 936 line













@atultiwariatul
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants