java使用第三方jar包

xiaoxiao2021-02-28  97

mac系统java在没有ide的情况下,如何正确使用第三方jar包.

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.

简而言之就是把你要用的jar包,放到/Library/Java/Extensions 或者~/Library/Java/Extensions 下

转载请注明原文地址: https://www.6miu.com/read-69146.html

最新回复(0)