

Click Edit.Įnvironment variable does not exist, click New. In the section System Variables,Įnvironment variable and select it. double click System, and select the Advanced If This PC icon is not present on desktop, then search it by writing "This PC" in search panel given at bottom left of windows and then right clik

Icon, then choose Properties from the context Once Path variable is set, java commands or JDK tools can be executedįrom any directory in a terminal. If Path variable is not set, you need to move to theĭirectory containing executables to execute the command in terminal. For example javac.exe is used for compilation of java program, java.exe used for TheseĮxecutables are used for different types of tasks in java. Like javac.exe, java.exe, javap.exe, javadoc.exe etc. C:\Program Files\Java\jdk1.8.0_102\bin) folder of In java, executable files are available in bin(for eg. CMD), operating system looks for the corresponding This variable stores a list of directories separated by Path is an environment variable in an operating system. Path variable, first let's understand what it is : Once you have installed the java, the next step for you would be to set Path variable for java.
