Latest web development tutorials

Eclipse compile the project

Compile Java project

A project can be associated with more than one compiler.

java project is associated with the java compiler. Through the following ways to view items associated with the compiler:

  • In the Package Explorer view, right-click the project and select Properties
  • Click Builders in the tree menu on the left
build_project_builders

java compiler used to compile java project. By tapping the New button and we will let java project associated Ant builder compiler.

ant

java compiler generates class files compiled java project. When the project source code changes automatically recompile the java code.

By removing Project Build Automatically menu item (automatic compilation) to disable the automatic compilation.

build_project_menu

If you disable automatic compilation, the project through Project menu Build Project menu item to compile java project. If you check the Build Automatically (automatic compilation) item, the Build Project (manual compilation) menu items are unavailable.