在Eclipse中导入库? [英] Import Libraries in Eclipse?

查看:139
本文介绍了在Eclipse中导入库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了dom4j图书馆,但对于我来说,我不知道如何访问它。我将其放在插件文件夹中,重新启动Eclipse,没有成功。由于某种原因找到一个直接的答案是更困难,我以为会是。

解决方案

不,不要从您的Eclipse工作区,右键单击您的项目在左窗格 - >属性 - > Java构建路径 - >添加Jars - >添加您的jar在这里。 。



Tadaa! :)


I just recently downloaded the dom4j library, but for the life of me I have no idea how to access it. I dropped it in the plug-ins folder and rebooted Eclipse, without success. For some reason finding a straight answer for this is more difficult that I thought it would be.

解决方案

No, don't do it that way.

From your Eclipse workspace, right click your project on the left pane -> Properties -> Java Build Path -> Add Jars -> add your jars here.

Tadaa!! :)

这篇关于在Eclipse中导入库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆