Difference between revisions of "Team1/Running your programs"

From CDOT Wiki
Jump to: navigation, search
Line 5: Line 5:
 
[[Image:Run2.jpg|600px ]]<br/><br/>
 
[[Image:Run2.jpg|600px ]]<br/><br/>
 
11.3. As our sample application writes to console, the result of running this application is shown on the console view.<br />
 
11.3. As our sample application writes to console, the result of running this application is shown on the console view.<br />
[[Image:Run3.jpg|400px ]]<br/><br/>
+
[[Image:Run3.jpg|700px ]]<br/><br/>

Revision as of 16:49, 30 January 2011

11. Running Your Program

11.1. Make sure that your project has a class that includes the main() method.
Run1.jpg

11.2. In the package explorer, select your project, right click and select "Run As", then choose "Java Application" (because we are creating an application not an applet).
Run2.jpg

11.3. As our sample application writes to console, the result of running this application is shown on the console view.
Run3.jpg