I'm getting this error on JavaFX: "Error: Could not find or load main class Main.java Caused by: java.lang.ClassNotFoundException: Main.java"
All the solutions I have tried to follow online haven't worked, and I'm very stuck. I've already added --module-path "<path to file>\javafx-sdk-17.0.2\lib" --add-modules javafx.controls,javafx.fxml
in the VM arguments as trying some other solutions, but none of them changed anything. I've even tried reinstalling JavaFX from scratch and setting it all up again, and nothing changed.