Eclipse compile project
Compile Java project
A project can be associated with multiple compilers.
The java project is associated with the java compiler. You can view the compilers associated with a project by:
Right-click the project in the Package Explorer view and select Properties
on the left Click Builders
in the tree menu on the side. 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. When the project source code changes, the java code will be automatically recompiled.
You can disable the automatic compilation function by removing the Build Automatically item in the Project menu.
If you disable the automatic compilation function, the project needs to compile the java project through the Build Project menu item in the Project menu. If the Build Automatically item is checked, the Build Project menu item is unavailable.