How to add external library properly in Eclipse?

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-05-13T05:03:21Z Indexed on 2010/05/13 5:14 UTC
Read the original article Hit count: 295

Filed under:

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.

Eclipse screenshot

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

© Stack Overflow or respective owner

Related posts about eclipse