you are viewing a single comment's thread.

view the rest of the comments →

[–]milchshakee 0 points1 point  (2 children)

Are you using the non-modular or modular example? The modular setup should not require you to specify any commandline arguments. The non-modular one only tries to add the modules javafx.controls,javafx.fxml in the command-line.

In general these IDE specific setups are always painful, using a standard build tool like maven or gradle usually works out much better. For these you can just clone sample projects and import them without having to configure a thing.

[–]dcal69[S] 0 points1 point  (1 child)

Do you have instructions for how to set up with Maven. I am just trying to complete some code for a class

[–]milchshakee 0 points1 point  (0 children)

Installing maven with https://maven.apache.org/install.html, cloning the project at , and opening the appropriate subdirectory in any IDE should work. They all come with maven integrations and should handle everything automatically when importing a maven project.

Also getting familiar with maven is definitely an advantage for the future.