Download the JavaFX Windows SDK using the link below
https://gluonhq.com/products/javafx/
and use the options below in VM argument's when running FX Application
-p $ModuleFileDir$/lib/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.base,javafx.fxml,javafx.graphics,javafx.media,javafx.web --add-opens=javafx.graphics/javafx.scene=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED
Note: Don't change anything in the downloaded folder: use as it is. The DLL files are important; if the DLL files are missing then the above error pops up.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…