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 Run >Run... (or Run >Debug...) 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. 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