Eclipse tutoria...login
Eclipse tutorial
author:php.cn  update time:2022-04-13 14:09:28

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

build_project_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.

ant

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.

build_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.

php.cn