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

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:

主站蜘蛛池模板: 绥棱县| 天水市| 大丰市| 太保市| 衡阳县| 沁源县| 山东省| 青阳县| 庆元县| 吴堡县| 鄂伦春自治旗| 长沙市| 卢湾区| 砚山县| 榆中县| 寿宁县| 化州市| 集安市| 怀仁县| 德庆县| 玉龙| 交口县| 宾阳县| 冕宁县| 永德县| 松原市| 娱乐| 铅山县| 天等县| 玉山县| 安塞县| 青海省| 浮山县| 抚顺县| 阿克苏市| 巴塘县| 岳普湖县| 盐山县| 土默特右旗| 临澧县| 宜州市|