To enable automatic building:
Select the Window > Preferences > Perform build automatically on resource modification check box.To disable automatic building:
Clear the Window > Preferences > Perform build automatically on resource modification check box.
Adding a JAR file to the build path
Adding a library folder to the build path
Building a Java program
Building manually
Viewing and editing a project's build path
Viewing compilation errors and warnings
Working with build paths