I'm getting an error once importing JavaFX in eclipse on Mac specifically with one import which is 'org.controlsfx.control.Noticifactions' what I've tried is to add and delete and re add the javafx sdk it is currently sitting under module path in configure build path and I've also tried to add it to the Class path which causes more errors
module-info.java is where the error is the code is
module loanBidda {
requires org.controlsfx.control.Notifications;
requires java.desktop;
requires javafx.controls;
requires javafx.fxml;
requires javafx.graphics;
}
the specific error is 'org.controlsfx.control.Notifications cannot be resolved to a module'
Tried re-installing both SDK's, updated java, updated eclipse, refreshed and cleaned project tried starting a new project with a fresh install, both versions of the javafx and JRE are the same
Default VM arguments are as follows: --module-path /Applications/javafx-sdk-19.0.2.1/lib --add-modules=javafx.controls,javafx.fxml Main.java
I found a site which packages the controlsfx package into a Jar file which worked
https://jar-download.com/artifacts/org.controlsfx/controlsfx/11.1.0/source-code