将JAR添加到Eclipse Java库中 [英] Adding a JAR to an Eclipse Java library

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

问题描述

如何将JAR文件添加到Eclipse中已有的Java库?请注意,这不是用户库。

How do you add a JAR file to an already existing Java library in Eclipse? Note that this is not a user library.

也就是说,如果您查看Java项目的Java构建路径,然后单击库选项卡,您将看到项目使用的库列表。如果展开给定的库,您将看到该库中包含的JAR文件列表。我想添加一个额外的JAR文件到这些库之一。

That is, if you look at the Java Build Path for a Java project and click on the Libraries tab, you will see the list of libraries used by the project. If you expand a given library, you will see a list of JAR files included in that library. I want to add an additional JAR file to one of these libraries.

我正在使用版本3.4.0的Eclipse。

I am using Version 3.4.0 of Eclipse.

推荐答案

在Eclipse Ganymede(3.4.0)中:

In Eclipse Ganymede (3.4.0):


  1. 选择库并单击编辑(窗口左侧)

  2. 单击用户库

  3. 再次选择库,然后单击添加JAR

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

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