Answer the question
In order to leave comments, you need to log in
Can't understand why module javafx.base not found in intellij idea?
Hello
Question
Here I registered in VM options this:
--module-path
"Users\USER\IdeaProjects\Graph\openjfx-11.0.2_windows-x64_bin-sdk\lib"
--add-modules=javafx.controls,javafx.fxml,javafx.base
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found
Process finished with exit code 1
Answer the question
In order to leave comments, you need to log in
The problem is in the parameters passed to the virtual machine. For IntelliJ IDEA, the current options can be found at https://www.jetbrains.com/help/idea/javafx.html .
For example, I have the following:
--module-path
C:\Users\[Имя пользователя]\javafx-sdk-11.0.2\lib
--add-modules
javafx.controls,javafx.fxml
--add-exports
javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED
Finally I've got a solution to my problem, since 4 days of searching
Thanks enough
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question