- Modular Programming in Java 9
- Koushik Kothagal
- 128字
- 2021-07-02 18:38:24
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:
- 深入實(shí)踐Spring Boot
- PHP+MySQL網(wǎng)站開發(fā)技術(shù)項(xiàng)目式教程(第2版)
- AIRAndroid應(yīng)用開發(fā)實(shí)戰(zhàn)
- FFmpeg入門詳解:音視頻原理及應(yīng)用
- VMware虛擬化技術(shù)
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(入門與提高篇)
- Getting Started with LLVM Core Libraries
- 現(xiàn)代C++編程實(shí)戰(zhàn):132個(gè)核心技巧示例(原書第2版)
- Android傳感器開發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- 細(xì)說Python編程:從入門到科學(xué)計(jì)算
- Go語言底層原理剖析
- Laravel Application Development Blueprints
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)項(xiàng)目化教程
- 超好玩的Scratch 3.5少兒編程
- C語言程序設(shè)計(jì)教程