Eclipse的理想情况添加罐子?添加外部JAR?添加库? [英] Eclipse IDE- Add jar? Add External jar? Add Library?

查看:265
本文介绍了Eclipse的理想情况添加罐子?添加外部JAR?添加库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想 TwitterAPIME 集成到我的黑莓项目。我有 TwitterAPIME 提供3 Jar文件。我不知道如何将这些三个文件链接到我的项目。

I want to integrate TwitterAPIME to my Blackberry project. I have 3 Jar files provided by TwitterAPIME. I am not sure how to link these 3 Jar files to my project.

我的基本的疑惑是

什么是外部JAR?什么是图书馆?

What is an External Jar ? What is a Library ?

什么是添加罐子,添加外部JAR或添加库之间的区别?

What's the difference between Adding jar, Adding External jar or Adding Library ?

推荐答案


  • 外部作为名称的建议是不是由当前发展code建一个JAR文件。它是从外部添加额外特征的效用Jar文件。这可能是来自外部网站提供的API Jar文件,就像在你的情况下,3 Jar文件将要调用外部JAR文件。

  • 要添加在Eclipse外部Jar文件,请按照下列步骤操作:右键单击项目 - >选择构建路径 - >选择配置构建路径 - >库选项卡在下面的对话框

What is an External JAR?

  • External as the name suggest is a Jar file that is not built by the currently developing code. It is a utility Jar file that is added externally for extra features. It could be an API Jar file provided from the external site, just as in your case the 3 Jar files will be going to call External Jar Files.
  • To add an External Jar file in Eclipse, follow these steps: Right Click on Project -> Select Build Path -> Select Configure Build Path -> Library Tab in the following Dialog box.

    一个库是从JDK目录或任何其他软件如一个内置的Jar文件J2ME的波兰,你可以在图像见上。通常,这些库文件是由制造商开发的。

    A Library is a in-built Jar file from the JDK Directory or any other software e.g. J2ME-Polish as you can see in the Image above. Normally these Library files are developed by a manufacturer.


    • 添加jar文件:当你在Eclipse中多个项目又添加了另一个项目的JAR文件,那个叫添加JAR文件。有一个在照片中的第一个按钮上,它只是允许你从其他项目添加JAR文件。

    • 添加外部JAR:当您添加的网站或其他制造商提供的API JAR文件。在你的情况下,3 JAR文件是外部JAR文件。您可以通过使用第二个按钮添加外部JAR,然后添加

    • 添加库:点击该按钮4日将下面打开一个对话框。

    • Adding Jar File: When you have more than one project in Eclipse and you add another project's Jar file, that is called adding Jar File. There is a first Button in the Photo above, it only allows you to add Jar file from the other Project.
    • Adding External Jar: When you add any API Jar file provided by the site or another manufacturer. In your case the 3 Jar files are External Jar Files. You can add then by using second Button "Add External JARs".
    • Adding A Library: Clicking on the 4th Button will open a dialog box as below.

    您可以添加在系统上安装不同的库。您也可以添加自己的图书馆,选择用户库。

    You can add different libraries installed on your system. You can also add your own Library, by selecting "User Library".

    这篇关于Eclipse的理想情况添加罐子?添加外部JAR?添加库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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