I am new in java programming. I am currently using Windows. Recently I saw a video tutorial from YouTube that the instructor was setting java JDK path
in system variables then created a new variable called JAVA_HOME
.
Now I saw in javaTpoint tutorial
that they were setting the path in user variables didn't create any JAVA_HOME
variable.
So my question is what is the difference between the set path in user variables and system variables? Which one do I have to set? and what's all about JAVA_HOME
?
I didn't found any proper explanation on this. Your answer would be highly appreciated.