Running a Java Program

See Also 

If the file has not been compiled or the .class file is out of date, the IDE compiles the file before running it. If there are no compiler errors, the IDE runs the program and displays any output in the Output window.

Some versions of the IDE include an Execute (Force Reload) command on the Build menu. This command is similar to the Execute command and is defined for J2EE components. Many servers enable you to do a "hot deploy," which quickly loads an individual component to the server. This shortens the development cycle as compared to redeploying the entire application. The simple Execute command uses the hot deploy feature. This method, however, is not always reliable. You may get class version clashes and some components may not be refreshed. The Execute (Force Reload) command is slower, but guarantees all components are properly installed on the server.

The IDE displays all running programs as nodes in the following locations:

To stop a running program:

See Also
Compiling, Running, and Debugging a Project
Specifying Arguments for Program Execution
Setting Runtime Options for the Environment

Legal Notices