I'm trying to run a JavaFX app through CMD but I can't make it work. What I did so far:
1) followed this guide and added the new environment variable (the JavaFX folder is in the desktop, does this make a difference?)
2) Tried to compile with javac --module-path %PATH_TO_FX% --add-modules javafx.controls HelloFX.java
The HelloFX app is here
But I get an error saying "Module not found: JavaFX.controls". Does somebody know how can I solve that? (Also Javafx.controls.jar is in the JavaFX's lib folder).