Setting execution arguments

If you want to specify execution arguments for your program, you must define a launch configuration that specifies the arguments.

  1. Select Opens the Run Launch Configurations dialog Run > Run Configurations... or Opens the Debug Launch Configurations dialog Run > Debug Configurations... from the workbench Run menu to open the list of launch configurations.   Launch configurations for Java programs are shown underneath Java Application in this list. 
  2. Select an existing configuration or create a new launch configuration by pushing the New button after selecting Java Application.
  3. On the Arguments tab for the configuration, you can specify the following fields as necessary:
  4. Click Apply or  Close when you are done. Every time you launch this configuration, these execution arguments will be used.

Related tasks
Creating a Java Application launch configuration
Launching a Java program