I'm trying to build a small program in Eclipse 2020-06 using Java14. I have Guava 29 as a dependency. Here is my module-info.java
module xxx {
exports main;
requires java.base;
requires java.desktop;
requires java.prefs;
requires com.google.common;
}
However, when I launch the program, I get this message:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module com.google.common not found, required by xxx
The guava jar is placed under Modulepath. I'm not using any build tools like Maven etc.
After removing the requires, I checked what the compiler would suggest. Here is what the compiler suggests as a requires, but I already had it before.
See: https://prnt.sc/unp2hf

