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

Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found - Error on NetBeans 12.6 #65

Open
Rango28 opened this issue Jan 24, 2022 · 0 comments

Comments

@Rango28
Copy link

Rango28 commented Jan 24, 2022

Hi,

I am a beginner at JavaFX. I want to display a stage but, although I follow the instructed steps to get the exact path (except for storing it in a C: folder which I can't to do since I have Mac), I cannot display it as it shows me: Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found. I saw a previous issue on the same error on NetBeans which said that I have to add the FX library in Modulepath under Run (Properties -> Libraries -> Run -> Modulepath) and, from what I understood delete the part of the path which says: --module-path, I still have no success in displaying the stage. When I follow the latter suggestion I get this error: `Error: Could not find or load main class Documents\FX17\lib'

I also made sure that I unchecked the "compile on save" option. I would highly appreciate other suggestions or corrections to my comprehension of the topic.

Screen Shot 2022-01-24 at 12 00 08 AM

Screen Shot 2022-01-23 at 11 59 43 PM

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

1 participant