M. Malkon
M. Malkon

Reputation: 151

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

Upvotes: 4

Views: 11147

Answers (1)

Antoine Snyers
Antoine Snyers

Reputation: 694

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

libraries settings

Upvotes: 1

Related Questions