Reputation: 55
I would like to add multiple modules through the VM options in NetBeans. Currently i have just added 1 module( javafx.controls).
Here is the directory that has all the modules including the one already added.
Does anyone know the separating delimiter?
Upvotes: 2
Views: 5726
Reputation:
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
maybe this helps.
Upvotes: 0
Reputation: 6447
To run JavaFX you have to tell your VM where modules are:
--module-path /Users/sbrbot/JavaFX/javafx-sdk-11.0.2/lib
and then tell what modules to use:
--add-modules javafx.controls,javafx.fxml
Upvotes: 1
Reputation: 2785
You can use the comma character: ,
The documentation says:
--add-modules <module name>[,<module name>...] root modules to resolve in addition to the initial module. <module name> can also be ALL-DEFAULT, ALL-SYSTEM, ALL-MODULE-PATH.
Upvotes: 4