阿神2017-04-18 10:12:25
首先感谢各位大大热心回答,启发了我如何搜索。下面是在stackoverflow中搜到的答案,顺利解决了我的问题。
If you want to make a certain set of JAR files (or .class files) available to every Java application on the machine, then your best bet is to add those files to /Library/Java/Extensions.
Or, if you want to do it for every Java application, but only when your Mac OS X account runs them, then use ~/Library/Java/Extensions instead.