I am using Eclipse IDE and trying to configure it to fun javafx for the first time. At first I was getting the error message for javafx.controls, after deleting the javafx sdk library from the build path it fixed that error and now i have this one. i have of course installed the e(fx)clipse plugin. Im trying to be thorough in what all I have tried to fix the issue.
I have looked through multiple forums and tried many different approaches. I have added vm arguments to my run configuration:
--module-path "C:\Downloads\openjfx-17.0.2_windows-x64_bin-sdk\javafx-sdk-17.0.2\lib" --add-modules javafx.controls, javafx.fxml
i have added my user library to the build path with the appropriate jars. I have deleted the javafx sdk lib from the build path. There are no errors visible in the editor. I have been trying to fix this problem yesterday and today as well for hours! Also here is my module-info code bc i saw in one forum where this was a problem for someone so ill add that info in as well.
module Test {
requires javafx.controls;
requires javafx.fxml;
opens application }