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.

To add a library folder to the project's build class path,...

  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 the Add Class Folder button.

  5. In the dialog that appears, select a folder to add press the OK button. If you want to add a not yet existing folder use first Create New Folder. After the folder is created select the new folder and press the OK button

Related concepts

Java builder
Build classpath

Related tasks

Adding a JAR file to the build path
Building a Java program
Building automatically
Building manually
Viewing and editing a project's build path
Working with build paths

Related reference

Java Build Path

Legal notices