maven java path setting

Hi,

While setting up java and maven paths from computer-->properties--->advanced variables

why we have to give
JAVA_HOME and M2_HOME  in user variables(till root just before bin)

whereas
appending path till bin under system variables.

my main question is how user variables and system variables are different. which one to use when and how?


please advise
mavenJavaBuildPath.png
LVL 7
gudii9Asked:
Who is Participating?
 
gurpsbassiConnect With a Mentor Commented:
whether its a system variable or a user variable doesn't matter. As long as JAVA_HOME is available.
0
 
gurpsbassiCommented:
Systemwide vs user account wide.
It's obvious isn't it?
0
 
gudii9Author Commented:
can not we we do both JAVE_HOME and path entry at user level or at system level itself(so that all users taken care) rather than doing one at user(ie JAVA_HOME which is top one) other(appending path at system variables at bottom...i feel weird to see users variables at top and system variables at bottom..i feel otherway like system variables at top and user variables at bottom more meaningful.)
Please advise?
0
 
gudii9Author Commented:
whether its a system variable or a user variable doesn't matter.
why we have two if both are same? i am bit unclear here.please advise.
0
 
gurpsbassiCommented:
ask microsoft or post in windows forum.
I use a real operating system.
0
All Courses

From novice to tech pro — start learning today.