darcula
darcula

Reputation: 73

intellij java-9 build path- module path settings

i know intellij supports java9,and i know how to set classpath on intellij by adding libraries to build path.

but how does it works in java 9, is there a section for module path in intellij?

i think java 9 uses classpath if it cannot find classes on module path. so should both classpath and module-path exist on intellij settings ?

and one last question, when i add a jar to libraries(java8 jar), is it an unnamed module or when it will be a automatic module?

Upvotes: 2

Views: 2432

Answers (1)

Marcus
Marcus

Reputation: 8671

IDEA currently uses a heuristic to decide wheather or not to put the whole project on the module path, see How to run Java 9 application with classpath rather than module path in IDEA? for details

Upvotes: 2

Related Questions