How to set Environment Variables
Environment Variables Setup for JAVAC :
Step by Step
Go to Computer icon right click and select Properties
Now, select the “Advanced system setting”
Go to Advanced tab, click on Environment Variables.
Go to System variables and click “New”
In variable name give JAVA_HOME and in variable value give the location of JDK/bin and JRE/bin ending with a’.’
Select and copy this jdk bin path
Paste it here ending with ‘;’ In the variable value it will be like C:\Program Files\Java\jdk1.8.0_91\bin;C:\Program Files\Java\jdk1.8.0_91\jre\bin;.
Select and copy this jre bin path
Paste it here ending with ‘;’ and at ending with ‘.’
Now, select the ‘Path’ and click edit(if you don’t have the path don’t worry just create by clicking on New)
Once again copy this path
Once again copy this path also
Don’t delete anything just,
Paste it here as shown in the image both ending with ‘;’ here no need to put ‘.’ at the end. In variable value it will look like this.
C:\ProgramData\Oracle\Java\javapath;%JAVA%;%JAVA%\bin;%JAVA%\lib;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Java\jdk1.8.0_91\bin;C:\Program Files\Java\jdk1.8.0_91\jre\bin;
Now click on “ok”
Click OK to complete the setting of Environmental Variables.
To check whether it is working go to command prompt and click javac.
If you are seeing this, then you have successfully setup the Environmental Variable path
Thank You.
[contact-form]
Pingback: How to install Java JDK ( JAVA Development Kit) - getallatoneplace