openjfx / openjfx-docs

Getting started guide for JavaFX 11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Put Double Quotes around %PATH_TO_FX% in windows command line samples

BEllis opened this issue · comments

On this page (and I suspect others),

https://openjfx.io/openjfx-docs/#install-javafx

The windows samples don't wrap %PATH_TO_FX% in double quotes. Best to do this as windows supports spaces in directory names.

javac --module-path "C:\Program Files\Java\javafx-sdk-18.0.2\lib" --add-modules javafx.controls App.java
error: module not found: javafx.controls
1 error