# Building a Java program

A build command compiles workbench resources. A build command can be triggered in different ways:

- Building automatically: If auto build is turned on (Window > Preferences > Perform build automatically on resource modification), then an incremental build occurs every time you save a modified workbench resource.
- Building manually: You can perform a manual build using a keyboard shortcut, a project's pop-up menu or the Project menu in the menu bar.

Build classpath
Java builder

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

Java Build Path
Project menu
Compiler preferences