AddToClassPath[path1,path2,…]
adds the specified full paths to directories and jar or zip files to the J/Link class search path.
AddToClassPath
AddToClassPath[path1,path2,…]
adds the specified full paths to directories and jar or zip files to the J/Link class search path.
更多信息和选项
- To use AddToClassPath, you first need to load J/Link using Needs["JLink`"].
- If you specify a directory, it will be searched automatically for .jar and .zip files, in addition to appropriately nested .class files, so you do not have to name .jar or .zip files explicitly.
- Changes take effect immediately and apply only to the currently running Java runtime.
- If you quit and restart Java, you will need to call AddToClassPath again.
文本
Wolfram Research (2007),AddToClassPath,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/AddToClassPath.html.
CMS
Wolfram 语言. 2007. "AddToClassPath." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/AddToClassPath.html.
APA
Wolfram 语言. (2007). AddToClassPath. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/AddToClassPath.html 年
BibTeX
@misc{reference.wolfram_2025_addtoclasspath, author="Wolfram Research", title="{AddToClassPath}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/AddToClassPath.html}", note=[Accessed: 19-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_addtoclasspath, organization={Wolfram Research}, title={AddToClassPath}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/AddToClassPath.html}, note=[Accessed: 19-April-2026]}