Specifying Arguments for Program Execution

See Also 

You can specify execution arguments on two levels:

To specify program arguments on an individual file:

  1. In the Filesystems window, select the runnable Java object.
  2. From the main window, choose Build and choose Set Arguments.
  3. In the Set Arguments dialog box, type the arguments as if you were typing them on the command line.

    If the argument includes a space, enclose it in quotation marks (for example, "arg 1").

  4. Click OK.
Tip You can also specify arguments in the Arguments property in the file's property sheet.

To set execution arguments for an entire project:

  1. From the main window, choose Tools and choose Options.
  2. In the Options window, expand Debugging and Executing and expand Execution Types.
  3. Select the desired executor type.
  4. On the property sheet, click the value of the External Process property and click the ellipsis (...) button.
  5. In the property editor, add the arguments to pass to the Java application before the {classname} argument.
  6. Click OK.
See Also
Setting Run Options
Setting Runtime Options for the Environment

Legal Notices