Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

maven java path setting

Posted on 2016-09-23
5
Medium Priority
?
83 Views
Last Modified: 2016-10-03
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
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:gurpsbassi
ID: 41813719
Systemwide vs user account wide.
It's obvious isn't it?
0
 
LVL 7

Author Comment

by:gudii9
ID: 41813876
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
 
LVL 16

Accepted Solution

by:
gurpsbassi earned 2000 total points
ID: 41814448
whether its a system variable or a user variable doesn't matter. As long as JAVA_HOME is available.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41826344
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
 
LVL 16

Expert Comment

by:gurpsbassi
ID: 41826368
ask microsoft or post in windows forum.
I use a real operating system.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question