module-path:模块路径。指程序在运行或编译时用于查找、加载模块的一组目录或归档文件(例如 .jar)的位置列表。常见于 Java 9+(JPMS) 等模块化系统中。(在不同语言/工具中也可能有类似概念与用法。)
UK /ˈmɒdʒuːl pɑːθ/
US /ˈmɑːdʒuːl pæθ/
Add the library to the module-path.
把这个库添加到模块路径中。
If the required modules aren’t on the module-path, the application may fail at startup because the module resolver can’t find their dependencies.
如果必需模块不在模块路径上,应用可能会在启动时失败,因为模块解析器找不到它们的依赖。
由 module(模块) + path(路径) 组合而成的技术复合词,用来表达“系统搜索模块时所依据的路径集合”。随着软件工程的模块化与依赖管理发展,该术语在编译器、运行时与构建工具的语境中被广泛使用。
java/javac 工具选项中关于 --module-path 的说明)