1.Download the latest version of the *Java JDK from Sun Microsystems.
2.Install the installer file.
3. IN C:/Programe files it will create java folder.
4.After the installer is finished, open run by clicking Start > Run... or by typing Windows Key + R.
5. In the text box, type "cmd" and click "OK".
6. Type Java -version in command prompt
It will show below result
C:\>java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Note:If this command is not working then setup environment variable and try again
Windows XP
Select Start, select Control Panel. double click System, and select the Advanced tab.
Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. ...
In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable.
add your jdk path in PATH environment variable e.g. C:/Programme Files/Java/Jdk
2.Install the installer file.
3. IN C:/Programe files it will create java folder.
4.After the installer is finished, open run by clicking Start > Run... or by typing Windows Key + R.
5. In the text box, type "cmd" and click "OK".
6. Type Java -version in command prompt
It will show below result
C:\>java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Note:If this command is not working then setup environment variable and try again
Windows XP
Select Start, select Control Panel. double click System, and select the Advanced tab.
Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. ...
In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable.
add your jdk path in PATH environment variable e.g. C:/Programme Files/Java/Jdk
No comments:
Post a Comment