Reputation: 151
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.
Upvotes: 4
Views: 11147
Reputation: 694
Right click on the library > Add to Modules... > Choose the module which requires it
Upvotes: 1