Adding a class folder to the build path

A class 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. A the class folder is the root of the package folders so that all class files are by placed according to their package declaration.

To add a class 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 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