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

javac command fails to find javafx.controls with openjfx 18.0.2 #226

Open
ml8585 opened this issue Sep 16, 2022 · 1 comment
Open

javac command fails to find javafx.controls with openjfx 18.0.2 #226

ml8585 opened this issue Sep 16, 2022 · 1 comment

Comments

@ml8585
Copy link

ml8585 commented Sep 16, 2022

javac --module-path "C:\Program Files\Java\javafx-sdk-18.0.2\lib" --add-modules javafx.controls App.java
error: module not found: javafx.controls
1 error

@KineticJetIce245
Copy link

Try putting everything on one drive other than C.
I had my codes in D drive and JavaFX in C, the codes never launched successfully. It didn't work even when I put the codes in the JavaFX folder.
However, once I transferred JavaFX files to D drive, it worked.

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