I receive the error :
java.lang.module.FindException: Module com.example.test not found
Process finished with exit code 1
I have been looking for a solution myself but have not been able to find one as either they didn't apply/work. I noticed there were mentioning changing --module-path in the VM Options but this (--module-path) was nowhere in my VM options(I haven't touched VM options ever)
Under my java files and next to the folder com.example.test there is module-info.java which is just:
module com.example.test {
requires javafx.controls;
requires javafx.fxml;
requires java.desktop;
opens com.example.test to javafx.fxml;
exports com.example.test;
}
I'm not sure why it isn't working, It was working earlier in the morning on my current PC, I was able to run it at school on the school pc and a friend's laptop but now I'm getting this error instead.
Thanks in advance.