I wonder how to add jar files to module path:
What I am working on is a maven project. In the Java build path, Libraries, there are no folders specifying whether I am adding the external jars to classpath or modulepath:
normally there will be two folders telling whether this is a classpath or modulepath:
But it seems that all of the external jars from jGrapht lib are added to the classpath since other modules complains cannot find class. So how do I move those jGrapht's jar.files from classpath to modulepath?
I noticed that someone asked a question that: whether maven by default add to the modulepath. The answer is false but it doesn't really answer how should I move those dependencies to modulepath. I actually mean how to move them to the automatic modules since they don't have module-info.