1. Technology

Creating Your First Java Program


8 of 9

Run the Program
Run the Program

Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.

All that’s left to do is run the program. In the terminal window type the command:

java HelloWorld

When you hit Enter, the program runs and you will see "Hello World!" written to the terminal window.

Well done. You’ve written your very first Java program!

©2014 About.com. All rights reserved.