Using a PC for Java Programming

To setup your PC to program in Java, you will need these three things:

1. The Java Development Kit (JDK)

The JDK lets you develop and deploy Java applications on your PC. You will need to download and install it on your PC. Download JDK.

Click here to download the JDK

You will also have to update the PATH Environment Variable on your PC. There are instructions how to do this in the JDK documentaion.

2. Command Line Interface

To compile and run the Java programs with the JDK, you will need to use a Command Line Interface program. Your PC already has such a program, its called the Command Prompt. Look in the Accessories folder, under Programs to find the Command Prompt. Pin it to your Start menu. For more information about the Command Prompt and how to use it, visit the Command Prompt Reference.

Click here to download the JDK

One of the few difficulties with using the Command Prompt program is navagitating to a particular directory or folder. Read the article Open Command Window Here to take care of that.

3. Text Editor

Only a simple text editor is needed to write your Java programs. You may use the built-in Windows editor called Notepad, but a better choice is Notepad2. Notepad2 has a few more features than the default Notapad, including syntax highlighting, auto-indentation and line numbering. The program is free! Download Notepad2.

Click here to download the JDK