Java development user guide > Tasks > Running and Debugging

Creating a Java application launch configuration

When you choose Run >Run As >Java Application to launch your class, you are running your class using a generic Java Application launch configuration that derives most of the launch parameters from your Java project and your workbench preferences.  In some cases, you will want to override the derived parameters or specify additional arguments.

You do this by creating your own Java Application launch configuration. 

  1. Select Opens the Run Launch Configurations dialog Run > Run Configurations... or Opens the Debug Launch Configurations dialog Run > Debug Configurations... from the workbench menu bar.  This opens a dialog that lets you create, modify, and delete launch configurations of different types.
  2. Select Java Application in the left hand list of launch configuration types, and press the New button in the toolbar. This will create a new launch configuration for a Java application. The tabs on the right hand side allow you control specific aspects of the launch.
Debugger
Local debugging Choosing a JRE for launching a project
Launching a Java program
Setting execution arguments
Changing debugger launch options Debug preferences
Debug view
Run Menu