Let's cover first things first. In order to edit and run Java files you will need a compiler/editor. I recommend the lightweight BlueJ. It can be downloaded by following the directions below:

1. Install BlueJ on your computer:

TODO:  Visit the BlueJ website to install on your computer:

http://www.bluej.org/ (Links to an external site.)

2. Once downloaded, unzip the file (Mac) or double click (Windows). For MAC users move the .app file to your Applications folder.

3. Open and create a new project

1. Open BlueJ
2. In BlueJ, navigate to Project -->New Project
3. Navigate to a folder where you would like to save your project
4. In the File text field type in "Project1"

3. Execute a test program  

1. Click the "New Class" button. In the name field type in "FirstProgram". (FYI - java classes cannot have spaces and must start with a letter)
2. Double click on the new file. Delete any code that appears (by default, BlueJ fills in some starter code. Most often, you will just delete it).
3. Copy and Paste the program below into the file that you save as "FirstProgram"
4. Right click on the file -->Compile. Then, right click --> "void Main(String [] args)" Select "OK" on the following screen. This will run the program.

public class HelloWorld { public static void main(String[] args) { // Prints "Hello, World" to the terminal window. System.out.println("Hello, World"); } }