Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java 11 / IntelliJ: Module not found

I'm exploring the modularity of Java 9+ and I'm stuck with adding JavaFX. I'm using IntelliJ and OpenJDK11 but IntelliJ can't seem to find JavaFX even though I have added the library and added the deps in the module-info.

enter image description here

like image 949
M. Malkon Avatar asked Jun 06 '26 06:06

M. Malkon


1 Answers

Right click on the library > Add to Modules... > Choose the module which requires it

libraries settings

like image 162
Antoine Snyers Avatar answered Jun 08 '26 19:06

Antoine Snyers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!