How can I add a .jar to my build path in Eclipse?

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-04-28T07:57:03Z Indexed on 2010/04/28 8:03 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

I try to do it the following way:

  1. Right click on the name of the project.

  2. Click on Build Path in the drop dawn menu.

  3. Click on "Configure Build Path"

And then I do not know what to do. Should I select "Source", "Projects", "Libraries", "Order and Export"?

In "Libraries" I have "Add JARs..." and "Add External JARs...". What should I select? (I have already a .jar file in the lib folder of my project.)

ADDED:

If I click on "Add JARs" in the "Libraries" tab, I see the "lib" sub-folder but if I go there I do not see my .jar file there (and I know that it is there).

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse