What is the path environment variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the path environment variable?

What is it and how does it relate to us programing?

5th Feb 2017, 3:42 AM
Leo Balboni
Leo Balboni - avatar
4 Answers
+ 7
The PATH variables store where your compiler and files/packages to import are. In order to be able to compile programs, your IDE needs to be able to find those files. So for Java, you'd need a PATH for the folder with the JDK version you want to use.
5th Feb 2017, 3:55 AM
Tamra
Tamra - avatar
+ 2
Path is Nothing just informing your Computer about where specifically the Java is Installed in your system.
5th Feb 2017, 4:12 AM
Arpan Lunawat
Arpan Lunawat - avatar
+ 1
Understood, thanks guys.
5th Feb 2017, 6:37 AM
Leo Balboni
Leo Balboni - avatar
0
Guys I have installed the jdk on a mac, and the instructions they give in the tutorial are only for Windows. Do I have to specify the path environment variable?
5th Feb 2017, 9:00 PM
Leo Balboni
Leo Balboni - avatar