
Step 8) You can follow a similar process to set CLASSPATH. %PATH% appends the existing path variable with our new value. Note: In case if you already have a PATH variable created in your PC, edit the PATH variable to PATH = \bin %PATH% Step 7) Paste Path of bin folder in Variable value and then click on OK Button. Step 6) Next, Copy the path of bin folder which is installed in JDK folder. Step 4) Click on new Button of User variables option Step 3) Click on Environment Variables in system properties Step 2) After that Click on advanced system settings Step 1) Right Click on the My Computer and Select the properties option Let’s quickly look into the 9 steps to set the PATH and CLASSPATH The CLASSPATH variable gives location of the Java Library Files. It is possible to run a program without specifying the PATH but you will need to give full path every time executing programs like C:\Program Files\Java\jdk-13.0.1\bin\javac A.java instead of simple javac A.java The PATH variable gives the location of executables like javac, java etc. Step 5) Once installation is complete then click Close How to properly set Environment Variables in Java: Path and Classpath Step 4) Select the proper PATH for Java installation and click next.

Step 3) Once the download is complete then, run the exe for installation of JDK. Click on Download latest Java JDK for your version depend on pc (32 or 64 bit) of java for Windows.
