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:
-
Select the project, and from its pop-up menu, select
Properties.
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:
-
to add a JAR file which is inside your workspace click the Add
JARs button
-
to add an external JAR file click the Add External
JARs button
-
In the dialog that appears, select the JAR file that you want to add.
Java builder
Build classpath
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
Java Build path