• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 98
  • Last Modified:

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
0
gudii9
Asked:
gudii9
  • 3
  • 2
1 Solution
 
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
 
gurpsbassiCommented:
whether its a system variable or a user variable doesn't matter. As long as JAVA_HOME is available.
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now