diff --git a/ide-eclipse.html b/ide-eclipse.html index 22e28bf..559920e 100644 --- a/ide-eclipse.html +++ b/ide-eclipse.html @@ -112,12 +112,12 @@
---module-path $PATH_TO_FX --add-modules=javafx.controls,javafx.fxml
+--module-path /path/to/javafx-sdk-11/lib --add-modules=javafx.controls,javafx.fxml
---module-path %PATH_TO_FX% --add-modules=javafx.controls,javafx.fxml
+--module-path "\path\to\javafx-sdk-11\lib" --add-modules=javafx.controls,javafx.fxml
+ Alternatively, you can define a global variable that can be used in future projects. Go to + Preferences (File -> Settings) -> Run/Debug -> String Substitution, and define the name + of the variable as PATH_TO_FX, and browse to the lib folder of the JavaFX SDK to set its value, + and click apply. + + +
++ Then you can refer to this global variable when setting the VM options as: +
+ +
+--module-path ${PATH_TO_FX} --add-modules=javafx.controls,javafx.fxml
+
+
diff --git a/ide-intellij.html b/ide-intellij.html index f567482..68db83b 100644 --- a/ide-intellij.html +++ b/ide-intellij.html @@ -91,12 +91,12 @@
---module-path $PATH_TO_FX --add-modules=javafx.controls,javafx.fxml
+--module-path /path/to/javafx-sdk-11/lib --add-modules=javafx.controls,javafx.fxml
---module-path %PATH_TO_FX% --add-modules=javafx.controls,javafx.fxml
+--module-path "\path\to\javafx-sdk-11\lib" --add-modules=javafx.controls,javafx.fxml
+ Alternatively, you can define a global variable that can be used in future projects. Go to + Preferences (File -> Settings) -> Appearance & Behavior -> Path Variables, and define the name + of the variable as PATH_TO_FX, and browse to the lib folder of the JavaFX SDK to set its value, + and click apply. + +
++ Then you can refer to this global variable when setting the VM options as: +
+ +
+--module-path ${PATH_TO_FX} --add-modules=javafx.controls,javafx.fxml
+
+
diff --git a/ide-netbeans.html b/ide-netbeans.html index 943610a..aac1c86 100644 --- a/ide-netbeans.html +++ b/ide-netbeans.html @@ -222,7 +222,7 @@
- <goal>org.codehaus.mojo:exec-maven-plugin:1.6.0:java≶/goal>
+ <goal>org.codehaus.mojo:exec-maven-plugin:1.6.0:java</goal>
@@ -473,9 +473,16 @@
Replace the existing plugins based on this pom file, and set the mainClass accordingly to org.openjfx.MainApp. - +
+Add the required dependencies for javafx.controls and javafx.fxml.
++ Update the nbactions.xml file, with this goal for run and debug: +
+
+ <goal>org.codehaus.mojo:exec-maven-plugin:1.6.0:java</goal>
+