Compiling, building, executing, and debugging projects
You can simultaneously compile or build all files you have added to a project and execute or debug a project (according to the main class you have set). You can access these commands from the Project menu or with the keyboard shortcuts given below.
- Compile Project (SHIFT+F9) - compiles all classes in the projects which are not compiled or have been changed. It recursively goes through all packages added to the project (like Compile All does).
- Build Project - recompiles all classes in the project, recursively going through all packages added to the project (like Build All).
- Execute Project (CTRL + SHIFT + F9) - executes the project by executing the main class. If necessary, the project is first compiled.
- Debug Project (CTRL + SHIFT + F5) - executes the project by executing the main class. If necessary, the project is first compiled.
You can also set the default compiler, executor, or debugger for the whole project in the Projects Settings window on the property sheet for
Java Sources
. See "Adjusting Project Settings" below.
Contents | Prev | Next | Index |