Add 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...
- 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. Note that you can add multiple JARs at once.
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