Eclipse Project Compilation
Compiling Java Projects
A project can be associated with multiple compilers.
Java projects are associated with the Java compiler. You can view the associated compiler for a project by:
Right-clicking the project in the Package Explorer view and selecting Properties
Clicking Builders in the tree menu on the left
The Java compiler is used to compile Java projects. By clicking the New button, we can associate the Java project with the Ant builder compiler.
The Java compiler generates class files by compiling Java projects. It automatically recompiles Java code when the project source code changes.
You can disable the automatic compilation feature by unchecking the Build Automatically item in the Project menu.
If you disable automatic compilation, you need to compile the Java project using the Build Project menu item in the Project menu. If the Build Automatically item is checked, the Build Project (manual compilation) menu item is unavailable.