Eclipse tutoria...login
Eclipse tutorial
author:php.cn  update time:2022-04-13 14:09:28

Eclipse run configuration



Creating and using Eclipse run configurations

Multiple run configurations can be created in the Run Configuration dialog box. Each configuration can be enabled within the application.

The Run Configuration dialog box can be called by selecting Run Configurations from the Run menu.

run_config_1

If you want to create a run configuration for a Java application, you need to select "Java Application" in the left list and click the New button.

The items described in the dialog box are:

  • Run configuration name

  • Project name

  • Main class name

Arguments (parameters) items are:

  • Program arguments (program parameters) can be 0 or more

  • VM arguments (Virtual Machine arguments: virtual machine parameters) can be 0 or more

run_config_2

Commons tab provided General configuration, such as standard input and output options, can be done to the console or specified files.

run_config_3

Click the Apply button to save the run configuration and click the Run button to re-execute the Java application.

php.cn