Adding a JAR file to the build path

You can add a JAR file stored either in the workbench or anywhere in your file system to the build class path.

To add a JAR to your build class path follow these steps:
  1. Select the project, and from its pop-up menu, select Properties.
  2. In the Properties dialog, select the Java Build Path page.

    Click the Libraries tab.

    You can now either add a JAR file which is contained in your workspace or which is somewhere else:

  3. In the dialog that appears, select the JAR file that you want to add.
Related concepts

Java builder
Build classpath

Related tasks

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

Related reference
Java Build path


Copyright IBM Corporation 2000, 2002. All Rights Reserved.