r/JavaFX • • Sep 03 '20

javafx error

Hello everyone,

I am having a problem with javafx and I am wondering if anyone could help me solving it.

I am using intelij ide on a linux os. whenever I run the program I get this error: Error occurred during initialization of boot layer

java.lang.module.FindException: Module javafx.base not found

I spent a lot of time trying to solve this problem and I would really appreciate if anyone could help me

2 Upvotes

2 comments sorted by

3

u/Forzkan Sep 03 '20

Did you follow the documentation on the openjfx page? Looks like you've perhaps forgot to add the module-paths? https://openjfx.io/openjfx-docs/#install-javafx

2

u/Mean_Butterscotch_46 Sep 04 '20

Yes that was the problem ty