Installing Java on Windows
October 22, 2011 | Installs
Install JDK in easy steps:
-
Download JDK from here: http://www.java.com/en/download/manual.jsp (Choose the matching version)
-
Install Java (Lets assume you downloaded jdk1.6.0_22 version and installed in C:\Program Files\Java folder)
-
Set the below system properties by going here: ‘My Computer-> properties -> Advanced -> Environment Variables’:
-
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) -
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) -
variable name: CLASSPATH
variable value: . (dot ‘.’)
-
-
To test that Java is installed and working properly on your computer:
-
Go to command prompt, type: java -version
-
Hit enter
-
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)
-
I love the efforts you have put in this, appreciate it for all the great blog posts.
nice blog