English 中文(简体)
Eclipse - Run Configuration
  • 时间:2024-12-22

Ecppse - Run Configuration


Previous Page Next Page  

Creating and Using a Run Configuration

The Run Configurations dialog allows you create multiple run configurations. Each run configuration can start an apppcation. The Run Configuration dialog can be invoked by selecting the Run Configurations menu item from the Run menu.

Run Configuration

To create a run configuration for a Java apppcation select Java Apppcation from the pst on the left hand side and cpck on the New button. In the dialog box that comes up in the main tab specify −

    A name for the run configuration.

    The name of a Project.

    The name of the main class.

In the arguments tab specify −

    Zero or more program arguments.

    Zero or more Virtual Machine arguments.

Run Java Apppcation

The Commons tab provides common options such as the abipty to allocate a console for standard input and output.

Create Manage and Run Configuration

To save the run configuration cpck on the Apply button and to launch the apppcation cpck on the Run button.

Advertisements