# 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 (Project > Build Automatically, or Window > Preferences > General > Workspace > Build automatically), 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
Java Compiler preferences Project menu