Wednesday, May 19, 2010

Adding External Library (.jar) in Eclipse

Adding external library (.jar) to the java classpath
  • From the menu select File -> Import -> File system. Select your jar and select the folder lib as target.
  • You can either create complete folder structure or selected folder structure only.Select the selected folder structure only option.
  • Select your project, right mouse click and select properties. Under libraries select "Add JARs".
  • If you find some errors in the import then find the jar in eclipse/plugin folder for the missing jar files.

No comments:

Post a Comment