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

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:

主站蜘蛛池模板: 德安县| 岳普湖县| 基隆市| 镶黄旗| 报价| 晋中市| 阿克苏市| 景宁| 崇州市| 泗洪县| 景洪市| 星座| 长寿区| 佳木斯市| 南和县| 乌鲁木齐市| 白河县| 泰来县| 西乌珠穆沁旗| 岑溪市| 湖南省| 高陵县| 陆川县| 景宁| 绥中县| 德阳市| 临沧市| 慈溪市| 南漳县| 宜君县| 铁力市| 海盐县| 沾益县| 恭城| 安溪县| 上杭县| 囊谦县| 修水县| 丽水市| 名山县| 黄平县|