I have two JPMS module in two files: modulea.jar and moduleb.jar. Modulea requires javafx.controls module. I need to use these modules
modulea.jar
moduleb.jar
javafx.controls
From @AlanBateman's comment:
The javafx.controls module is not loaded by default. You can force it into the boot layer by running with --add-modules javafx.controls.
--add-modules javafx.controls
NOTE: Starting with Java 11 JavaFX is a separate project.