What's correct: "--modulepath" or "--module-path"?

Volker Simonis volker.simonis at gmail.com
Mon Aug 8 17:17:34 UTC 2016


Hi,

currently (in jdk9/dev), tools like jlink/jmod support only
"--modulepath" but not "--module-path". But notice that they support
"--class-path" and "--module-version". As far as I can see, JEP 293:
Guidelines for JDK Command-Line Tool Options [1] recommends
"--module-path".

Also, the current help text for jmod in the jmod.properties resource
file, contains this message:

err.modulepath.must.be.specified=--module-path must be specified when
hashing modules

but jmod itself only understands "--modulepath"

Is somebody taking care to harmonize all these command line options?
Will this be done as part of JEP 293?

Regards,
Volker

[1] http://openjdk.java.net/jeps/293


More information about the core-libs-dev mailing list