Compiling, Running, and Debugging a Project

You can compile, run, and debug projects with commands from the Project menu.

To compile a project:

To force compilation of all files in a project:

To run a project:

  1. If you have not set the main class, choose Project Set Main Class from the main window and set the class in the Select Main Class dialog box.
  2. Choose Project Execute Project from the main window.

To debug a project:

  1. Set a breakpoint in your program.
  2. Choose Project Debug Project from the main window.
You can also compile and build by class or package. Right-click a node in the Explorer or Object Browser and choose the appropriate command from the contextual menu. You can run a class by right-clicking its file node and choosing Execute. You can debug a class by selecting its file node and choosing Debug Start Debugging in the main window.
See also
Projects in the IDE

Creating a New Project

Adding an Existing File to a Project

Adding a New File to a Project



Compiling a Program

Running a Program

Debugging a Program


Legal Notices