官术网_书友最值得收藏!

Understanding module path arguments

Our example application is comprised of two Java modules. We have the source of both those modules in the module source path. In reality, it's common to be working on module sources that depend on compiled third-party modules pulled in as dependencies. In such cases, you'll need to provide to the compiler the module source path containing the module source files, and the module path for the compiled dependencies. The compiler needs a distinction between the code it needs to compile (in  --module-source-path) and the location of compiled dependencies and libraries ( --module-path). When it comes to execution, you just pass in  --module-path pointing to the compiled modules.

Here are the command line argument values passed to the compiler and runtime:

主站蜘蛛池模板: 邯郸县| 禹州市| 东莞市| 苏尼特左旗| 富源县| 辽阳市| 原阳县| 洪江市| 图木舒克市| 永康市| 恭城| 屏东县| 克拉玛依市| 读书| 平陆县| 永宁县| 望奎县| 泰州市| 安阳县| 睢宁县| 盐山县| 威信县| 临清市| 盘山县| 中江县| 东阳市| 习水县| 枣强县| 延津县| 横山县| 尚义县| 商洛市| 诏安县| 隆昌县| 汉沽区| 都昌县| 钟祥市| 松潘县| 砚山县| 岑溪市| 资源县|