1

Oracle's documentation states that:

module-path is the path to either a directory of modules or to a modular JAR file. The path can be absolute or relative to the current directory. For more than one path, separate the paths with a colon (:) on Linux and macOS or a semi-colon (;) on Windows, or use multiple instances of the --module-path option.

I tried using multiple instances of the --module-path option in the hopes of using the same command-line across all platforms, but no luck. It seems that the last --module-path option overwrites the previous values.

Is this a bug? Is there a portable workaround I can use?

Gili
  • 86,244
  • 97
  • 390
  • 689

0 Answers0