0

Why we are setting class path in environment variable..?

9th Dec 2017, 1:58 PM
Yaseen Mubeen
Yaseen Mubeen - avatar
2 Respostas
+ 5
Short answer: Because without setting the PATH Environment Variable, every time you compile or run the java program through the Command-Line you'd need to provide the complete path of javac: C:\Java\jdk1.8.0_151\bin\javac Hello.java
12th Dec 2017, 3:21 PM
Dev
Dev - avatar