Standard Java SE Project Properties Dialog Box: Run

See Also 

The Run panel lets you configure options for running your project. You can create several configurations and set the main class, program arguments, working directory for program execution, and VM options for each configuration. When running the application, you can easily switch the configuration in the drop-down list on the editor toolbar.

You open the Standard Java SE Project Properties dialog box by right-clicking any  and choosing Properties.

Configuration. Click New to create a new runtime configuration and enter its name in the dialog box that appears. All changes you make to the main class, arguments, and other options, will apply only to the configuration selected in the drop-down list on this panel. All configurations are saved in the <configuration_name>.properties file in the nbproject/configs directory of your project. After a new configuration is created, it becomes available in the configuration drop-down list on the editor toolbar and you can switch configurations while running your project.

You can set the following options for a configuration:

See Also
About Standard Projects
About Free-Form Projects
Standard Java SE Project Properties Dialog Box:
         Sources
         Libraries
         Compiling
         Packaging
         Documenting
         Application
         Desktop App
         Web Start
         Formatting

Legal Notices