Module javafx.controls not found in Java 9

前端 未结 1 1777
逝去的感伤
逝去的感伤 2021-01-18 07:45

I have two JPMS module in two files: modulea.jar and moduleb.jar. Modulea requires javafx.controls module. I need to use these modules

相关标签:
1条回答
  • 2021-01-18 08:16

    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.

    NOTE: Starting with Java 11 JavaFX is a separate project.

    0 讨论(0)
提交回复
热议问题