tags:

views:

39

answers:

1

So today I downloaded Apache Commons Lang library (binary, zip format). I extracted it to C:\eclipse\commons-lang-2.5 folder. There are a commons-lang-2.5.jar, a commons-lang-2.5-javadoc.jar, and a commons-lang-2.5-sources.jar inside, and a folder for HTML Javadoc. I started Eclipse, added commons-lang-2.5.jar, and set its source and Javadoc respectively as the screenshot below. (http://img43.imageshack.us/img43/9378/eclipsev.png)

Eclipse screenshot

My question is, is there a convenient or standard way to add external libraries? Or am I actually doing the right thing?

+1  A: 

Recommendation:

  1. Create a "lib" folder and keep all your jars in the folder.
  2. Subsequently, add all the jar files in the lib folder into your build path by using Project => Properties => Java Build Path => Libraries => Add JAR ...

btw, there' no screenshot. Can you give the link for the screen shot so that I may be able to help our better...

MasterGaurav
http://img43.imageshack.us/img43/9378/eclipsev.png Here is the screenshot link.
zihaoyu