- 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:
- Boost.Asio C++ Network Programming(Second Edition)
- ReSharper Essentials
- Vue.js前端開發(fā)基礎(chǔ)與項目實戰(zhàn)
- PHP程序設(shè)計(慕課版)
- 新手學Visual C# 2008程序設(shè)計
- TypeScript圖形渲染實戰(zhàn):基于WebGL的3D架構(gòu)與實現(xiàn)
- 機械工程師Python編程:入門、實戰(zhàn)與進階
- Scientific Computing with Scala
- 組態(tài)軟件技術(shù)與應(yīng)用
- Learning Raspbian
- Red Hat Enterprise Linux Troubleshooting Guide
- 計算機應(yīng)用基礎(chǔ)項目化教程
- Hadoop 2.X HDFS源碼剖析
- Android Studio Cookbook
- 從零開始學Android開發(fā)