How to install Java on Windows

From WLCS
Revision as of 22:55, 4 September 2008 by Admin (talk | contribs) (New page: # Download and install the [http://www.paulbui.net/wl/cs2/download/jdk-6u4-windows-i586-p.exe Java Development Kit] (JDK) # Test your install by going to Start -> Programs -> Accessories -...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  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
  1. Click OK
  2. Open a command prompt by going to Start -> Programs -> Accessories -> Command Prompt
  3. Type java and press Enter
  4. If everything worked, then you should now see a list of java options because the command was recognized