2

I would like to add multiple modules through the VM options in NetBeans. Currently i have just added 1 module( javafx.controls).

enter image description here

Here is the directory that has all the modules including the one already added. enter image description here

Does anyone know the separating delimiter?

3 Answers 3

4

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.
Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

0

--add-opens=java.base/java.lang.reflect=ALL-UNNAMED

maybe this helps.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.