How to Set Path in Java

How to set path in Java

Path setting is important for compiling and running your java programs. Path setting simply refers to pointing the java compiler and interpreter to system and environment variables so that you can compile and execute java source code anywhere from your computer. To set path in java, follow the steps

Go to computer properties –> Advanced System Settings –> Environment variables> New

image 23
image 24

Set the path for JDK

image 25

And then finally check if JDK is installed or not. In this way you can install JAVA on windows OS. Follow the steps here if you want to know how to install Java on your computer

LEAVE A REPLY

Please enter your comment!
Please enter your name here