Installing and setting Java path


Download Java
Download lastest release of java form the official site
http://www.oracle.com/technetwork/java/javase/downloads/index.html
 Install the downloaded file
The file is installed into follwing location C:\Program Files\Java
Then, right click on mycomputer




 -> click properties -> the follwing screen will be displayed


 Now, click on Advance System Setting, screen below appears



 Click on Envirnment Variables, another window is displayed



 Click New button below the upper box and secreen below will be displayed

Insert following into corrosponding textbox
Variable name: JAVA_HOME
Variable Value: C:\Program Files\Java\jdk1.7.0_07





In lower box select Path and click Edit button, at the end after “;” paste full path to bin folder (Note :- keep other content in box as it is and end the line with “;”)
Variable Value: C:\Program Files\Java\jdk1.7.0_07\bin;



Now, after all this process check that Java installation and setting is successfully completed
Open command  and run follwing syntax
C:\Java -version and you will see screen below if all the setting are correct


No comments: