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

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:

主站蜘蛛池模板: 噶尔县| 永福县| 克山县| 汶上县| 明水县| 宁强县| 都昌县| 息烽县| 潞城市| 久治县| 屏南县| 云安县| 赫章县| 晋州市| 盖州市| 万安县| 梁山县| 抚顺县| 弥渡县| 康马县| 嘉峪关市| 平遥县| 会宁县| 合阳县| 通河县| 甘孜县| 佛教| 来安县| 贺州市| 西乌珠穆沁旗| 观塘区| 沾化县| 富顺县| 藁城市| 江都市| 竹山县| 中江县| 安阳市| 南汇区| 嫩江县| 买车|