# Running a Project

You can run any project in Java WorkShop without opening a separate web browser. Java WorkShop runs the project using the attributes you specify in the Edit Project Run tab.

Run a project in one of the following ways:

- Click the Run button on the Java WorkShop main toolbar.
- Choose Project -> Run.
- Click the Project's button . In the project manager, select the project name; then, choose Project -> Run.

  The action that Java WorkShop performs depends on the type of project you are running.

# Results of Running a Project

Applet | The HTML file that Java WorkShop runs depends on the setting of the Existing Run Page URL attribute. You can find this attribute in the Edit Project Run tab. If Existing Run Page URL is set to No, Java WorkShop creates the file projectname.`tmp.html` in your project directory and loads it into the browser. Java WorkShop generates this file based on the attributes and parameters you specify in the Run tab. If you did not specify any attributes, the file contains the minimum requirements to place the applet on a web page. If Existing Run Page URL is set to Yes, Java WorkShop loads the file specified in the Existing Run Page URL text box into the browser.
Standalone Program | Java WorkShop creates an MS-DOS command window or a shell tool in the UNIX operating environment and runs the program. You can specify arguments to pass to the program's `main` method in the Edit Project Run tab. See Specifying Program Arguments.

See also:

  Run Tab for Applet Project
  Run Tab for Standalone Program Project
  Editing the Project HTML file