This instructable will teach you how to:
1. Install the Java Development Kit.
2. Set system variables to easily be able to compile and execute java files.
3. Compile and execute a Java file from Command Prompt.
** This is mainly for Windows 7 and Vista.
Step 1: Download latest JDK
2. Click Download JDK under the download Java Standard Edition panel.
3. Choose your operating System and agree to the terms of service. **
** This will probably be Windows since your using Command Prompt.