How to install Java on Windows

  1. Download and install the Java Development Kit (JDK)
  2. Test your install by going to Start -> Programs -> Accessories -> Command Prompt.
  3. You should then see a command line interface (black screen with text). Type java and it should output a screen full of help options, and if you see this, then you are done and Java is installed. If typing java returned with error saying that the command was not recognized, then you must continue by doing the following.
  4. Only continue with the following steps if java is not recognized at the command line
  5. Go to your Control Panel
  6. Go to System
  7. Go to the Advanced tab and click on the Environment Variables button
  8. In the lower scrolldown box, edit the Path variable
  9. Add a ; (semicolon) to the end of the variable value box
  10. Add the path of the jdk's bin directory to the end of the variable value box. The path will look something like
    C:\Program Files\Java\jdk1.6.0_04\bin
  11. Click OK
  12. Open a command prompt by going to Start -> Programs -> Accessories -> Command Prompt
  13. Type java and press Enter
  14. If everything worked, then you should now see a list of java options because the command was recognized

Installing JCreator

  1. After installing Java, you may want to install a helpful Java editor for Windows
  2. Download and install JCreator
  3. In the JCreator GUI, you will find that there are buttons for compiling and executing your current Java program