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

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:

主站蜘蛛池模板: 达拉特旗| 如东县| 孟连| 富裕县| 武鸣县| 扬州市| 丹棱县| 灌云县| 溆浦县| 岢岚县| 桓台县| 邻水| 米林县| 马公市| 如皋市| 郎溪县| 荥阳市| 贵定县| 河间市| 温州市| 夏邑县| 安龙县| 永寿县| 盈江县| 安平县| 黑河市| 保德县| 青河县| 叶城县| 安化县| 西盟| 申扎县| 南京市| 浦城县| 阿拉善右旗| 西林县| 广饶县| 岳普湖县| 界首市| 禄丰县| 公主岭市|