Running a Project

When you run a project, you run all .class files that are part of the project. If your project has not been compiled or the .class file is out of date, the IDE (by default) compiles the project before running it. All runnable objects are marked with the icon in the Explorer.

To run the current project:

  1. From the main window, choose Project Execute Project (Ctrl-Shift-F6).
  2. If the Select Main Class dialog box appears, select the class that contains the main method and click OK.

    If there are no compiler errors, the IDE switches to the running workspace, which by default displays your running application and the Execution View and Output windows.

You can run the active file in the Source Editor by choosing Build Execute (F6).
See also
Correcting Errors in Source Code
Specifying Arguments for Program Execution
Setting Runtime Options for the Environment

Legal Notices