V2EX  ›  英汉词典

Module-path

释义 Definition

module-path模块路径。指程序在运行或编译时用于查找、加载模块的一组目录或归档文件(例如 .jar)的位置列表。常见于 Java 9+(JPMS) 等模块化系统中。(在不同语言/工具中也可能有类似概念与用法。)

发音 Pronunciation

UK /ˈmɒdʒuːl pɑːθ/
US /ˈmɑːdʒuːl pæθ/

例句 Examples

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.
如果必需模块不在模块路径上,应用可能会在启动时失败,因为模块解析器找不到它们的依赖。

词源 Etymology

module(模块) + path(路径) 组合而成的技术复合词,用来表达“系统搜索模块时所依据的路径集合”。随着软件工程的模块化与依赖管理发展,该术语在编译器、运行时与构建工具的语境中被广泛使用。

相关词 Related Words

文献与作品中的用例 Literary / Notable Works

  • Java Platform Module System (JPMS) Specification(Java 平台模块系统规范)
  • Oracle Java SE Documentation(如 java/javac 工具选项中关于 --module-path 的说明)
  • Maven: The Definitive Guide(涉及依赖与构建路径概念的讨论)
  • Gradle User Manual(构建与依赖解析相关章节常出现类似术语)
  • The Java® Language Specification(与 Java 模块化相关的规范性文本中常见相关概念)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   935 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 23:38 · PVG 07:38 · LAX 15:38 · JFK 18:38
♥ Do have faith in what you're doing.