Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你如何使用第三方库?
我已经下载了它,但不确定如何处理它,我是否将它放在我的 Eclipse 项目文件夹等中?
我确实在网站上看过但无济于事
谢谢
您需要在项目类路径中设置 jar。导入后,您可以通过导入类来使用向您公开的库和 API
无需安装 Java JAR 文件。相反,您在类路径中设置 JAR。
请参阅设置 Eclipse 类路径