Compiling and Running an Application by Charles W. Neville, 1998 Copyright Charles W. Neville, 1998 By contrast with applets, applications are designed to be run as stand alone programs. To compile and run an application you have written, you have to carry out the following steps. 1. Save the application in a file with THE SAME NAME as the class and a .java extension. For example, the HelloApplication application begins with public class HelloApplication extends Frame { so you would save the application text in a file named HelloApplication.java. (No period at the end.) 2. Compile the application by typing javac and the class file name. For example, the HelloApplication application would be compiled by typing javac HelloApplication.java 3. Because applications are stand alone programs, NO HTML FILE is needed. 4. Run your application by typing java and the class name. For example, for the HelloApplication application, you would type java HelloApplication 5. Enjoy watching your application run.