Set up environment variables
To set an environment variable. Go to This Pc->Right click on property->Advanced System Setting-> Environment variable
Click new under System variable
This will open New System Variable Dialog. Type JAVA_HOME in Variable Name and Type JDK’s installation directory (i.e c:\Program Files\Java\jdk1.7.0_2) of your computer in Variable Value.
Now write the same path under the system variable, look for a variable called Path and click on Edit.
In the Edit System Variable dialog, append the following to the end of the field Variable value:
Click Ok, again Ok, ok, and close it.
Now-Again type following in Command,
You will able to see a version.
Congratulation, you successfully installed the java development environment on your computer.
Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique
Don't hesitate to give us a call or send us a contact form message