Run your Application | Heaton Research

Run your Application

Get the entire book!
Java for the Beginning Programmer

If you have compiled without errors, now you are ready to run, or execute, your application. This is done by entering the command:

java HelloWorld

This will run your program and display “Hello World” as seen in Figure 2.23.

Figure 2.23: Run the Example

Run the Example

Congratulations! You have created and executed your first Java application.

Copyright 2005-2008 by Heaton Research, Inc.