Re: Why cannot run compiled JavaFX 11 class?

2018-10-30 Thread Steve Hannah
The "java" command expects a fully-qualified class name, not a file path as its argument. E.g. cd /Users/me/Documents/java java --module-path $PATH_TO_FX --add-modules=javafx.controls HelloFX On Tue, Oct 30, 2018 at 2:06 PM Murray Eisenberg wrote: > This is under macOS Mojave (10.14). > >

Why cannot run compiled JavaFX 11 class?

2018-10-30 Thread Murray Eisenberg
This is under macOS Mojave (10.14). Following instructions at https://openjfx.io/openjfx-docs/#install-javafx, I compiled the sample HelloFX.java via: javac --module-path $PATH_TO_FX --add-modules=javafx.controls /Users/me/Documents/java/HelloFX.java But now if I attempt to run that...