Run Configuration

In order to run your project, you have to choose Tools | Run/Debug | Run from the Main menu. Running a program requires specifying main class name, arguments and VM options. Large-scale projects may have more than one main class and significant number of parameters. Together helps simplify the process by means of Run Configuration, where you can enter various sets of runner parameters, which subsequently can be selected in the Run dialog.

This how it's done... Choose Tools | Run/Debug | Run Configurations from the Main menu. Press Add button and enter the required arguments and parameters. You can add as many configuration as needed, and assign one of them as the default one. Default configuration is highlighted in thick print.

When you further choose Run command from the Tools menu, you can select the required configuration from the list, clicking on a browse icon: