Select one of the following items in the Run menu:
Run Run Last Launched
Runs the last launched program
Run Run History
Enables you to select programs to run from a submenu
Run Run As
Enables you to select how to run a programwith the Java Applet, Java Application, JUnit Test (discussed in Chapter 5), or Run-time Workbench
Enables you to set the launch configuration and run your code
Before running your code, save your files, or Eclipse will prompt you to do so. The general way to run your code is to select Run Run As, and then choose the way you want to run your code from the submenu: Java Applet, Java Application, JUnit Test, or Run-time Workbench (used to run plug-ins under development).
The Run Run History and Run Run Last Launched menu items give you handy shortcuts for running recent programs.
22.214.171.124 Eclipse 3.0
Eclipse 3.0 adds another option to the Run Run As submenu: JUnit Plug-In Test. Eclipse 3.0 makes JUnit available for plug-in development.
4.9.4 See Also
Chapter 5 on JUnit testing; Chapter 2 of Eclipse (O'Reilly).