Installing Java on Windows

October 22, 2011 | Installs


Install JDK in easy steps:

  1. Download JDK from here: (Choose the matching version)

  2. Install Java (Lets assume you downloaded jdk1.6.0_22 version and installed in C:\Program Files\Java folder)

  3. Set the below system properties by going here: ‘My Computer-> properties -> Advanced -> Environment Variables’:

    1. variable name: JAVA_HOME
      variable value: C:\Program Files\Java\jdk1.6.0_22 (Change this path to your JDK installation path done in step 2)

    2. variable name: Path (if already exists append the variable value by clicking on ‘Edit’ button)
      variable value: C:\Program Files\Java\jdk1.6.0_21\bin; (Change this path to your JDK installation ‘bin’ folder)

    3. variable name: CLASSPATH
      variable value: . (dot ‘.’)

  4. To test that Java is installed and working properly on your computer:

    1. Go to command prompt, type: java -version

    2. Hit enter

    3. Result should be something like:
      java version “1.6.0_22″
      Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
      Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

Tags: , ,

Comments (2)

  1. bizzibiz says:

    I love the efforts you have put in this, appreciate it for all the great blog posts.

Leave a Reply

If you have a Tip, Comment, Article or anything you want to share, please send it to: