In eclipse, I am trying to add some libraries. I choose
“build path->configure build path->libraries”. The right column of the “java build path” window gives me several options:
Add JARS, Add External JARS, and Add Library.
It seems to me that I should choose “Add Library”, but what do the other two work for, “Add JARS” and “Add External JARS”. What are the differences among these three options?
Add Jars is for internal Jars – i.e. jars from your project workspace. Add external Jars is for jars in a different directory on your hard drive – e.g. ones you downloaded or from a diff workspace. This is the same as “Add Library” really, except that a library is a handy label for external jars that you add regularly. See http://www.javaprogrammingforums.com/java-code-snippets-tutorials/6536-javatip-dec-18-2010-eclipse-user-libraries.html for an example of how to add.