Eclipse Compile Project Compiling a Java project
A project can have multiple compilers associated with it.
The Java project is associated with the Java compiler. You can view the compiler associated with the project in the following ways:
- In the package Explorer view, right-click the project and select Properties
- In the left tree menu, click Builders
The Java compiler is used to compile Java projects. With the point New button we can have the Java project associated with the Ant builder compiler.
The Java compiler generates a class file by compiling a Java project. The Java code is automatically recompiled when the project source code changes.
You can disable the automatic compilation feature by removing the build automatically (auto-compile) entry in the Project menu.
If you disable the automatic compilation feature, the project needs to compile the Java project from the Build Project menu item in the Project menu. If the build automatically (auto-compile) entry is checked, the build Project (manually compiled) menu item is unavailable.
Eclipse Compile Project