Install And Configure JDK On Windows
First download JDK from here. I am using JDK 6 for this tutorial
1- Run the JDK setup and install Java on your machine
2- On windows right click My Computer and click Properties
3- Choose Advance tab and click on Environment Variables button
4- Under System variable press New button
5- Provide JAVA_HOME variable in Variable name field and your JDK Home path in Variable value
6- Find Path variable under System variables and press Edit button. Append path up to JDK bin directory and press OK.
To check whether you JDK is setup properly open command prompt and write following command on console
> java –version
You will get output similar to the following image.
Comments