Adding a Library Folder to the Build Path

A library folder is an ordinary folder containing a collection of class files inside the workbench. Use this format for a library when a library is not packaged as a JAR file.

Note: You cannot attach source to a library folder.

To add a library folder to the project's build class path, follow these steps:

1.

Select the project, and from its context menu, select Properties.

2.

In the Properties dialog, select the Java Build Path page.

3.

Click the Libraries tab.

4.

Click Create Folder to add a new, empty folder to the build class path. You can then import class files later.

5.

Click Add Folders to add existing workbench folders to the build class path.