A little late, but I since I bumped into this issue when trying out the OpenCV tutorial for Java and JavaFX, I will share what worked for me.
- To be able to compile I needed to add the OpenJFX and OpenCV libraries to classpath
- Not necessary to configure special module compilation - Eclipse handles it well with Java 11
- To be able to run I created a launch shortcut that adds the VM arguments as below
--module-path /javafx-sdk-11.0.2/lib
--add-modules=javafx.controls,javafx.fxml
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
A little late, but I since I bumped into this issue when trying out the OpenCV tutorial for Java and JavaFX, I will share what worked for me.
- To be able to compile I needed to add the OpenJFX and OpenCV libraries to classpath
- Not necessary to configure special module compilation - Eclipse handles it well with Java 11
- To be able to run I created a launch shortcut that adds the VM arguments as below
--module-path /javafx-sdk-11.0.2/lib
--add-modules=javafx.controls,javafx.fxml
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
A little late, but I since I bumped into this issue when trying out the OpenCV tutorial for Java and JavaFX, I will share what worked for me.
- To be able to compile I needed to add the OpenJFX and OpenCV libraries to classpath
- Not necessary to configure special module compilation - Eclipse handles it well with Java 11
- To be able to run I created a launch shortcut that adds the VM arguments as below
--module-path /javafx-sdk-11.0.2/lib
--add-modules=javafx.controls,javafx.fxml
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
A little late, but I since I bumped into this issue when trying out the OpenCV tutorial for Java and JavaFX, I will share what worked for me.
- To be able to compile I needed to add the OpenJFX and OpenCV libraries to classpath
- Not necessary to configure special module compilation - Eclipse handles it well with Java 11
- To be able to run I created a launch shortcut that adds the VM arguments as below
--module-path /javafx-sdk-11.0.2/lib
--add-modules=javafx.controls,javafx.fxml
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED