如何在Eclipse中添加库? [英] How do I add a library in Eclipse?

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

问题描述

我从 http://code.google.com/p/google中下载了Gson图书馆-gson /
存档包含以下jar文件:

I downloaded the Gson library from http://code.google.com/p/google-gson/. The archive contains the following jar files:

google-gson-1.3 / gson-1.3-javadoc.jar

google-gson -1.3 / gson-1.3.jar

google-gson-1.3 / gson-1.3-sources.jar

google-gson-1.3/gson-1.3-javadoc.jar
google-gson-1.3/gson-1.3.jar
google-gson-1.3/gson-1.3-sources.jar

如何将Eclipse设置为能够在我的项目中使用包

How do I set my Eclipse to be able to use the package in my projects? Where do I put the documentation?

推荐答案

右键点击项目,Build Path-> Add External Archives

Right Click on the project, Build Path->Add External Archives

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

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