Solved

maven java path setting

Posted on 2016-09-23
5
58 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
  • 3
  • 2
5 Comments
 
LVL 15

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 15

Accepted Solution

by:
gurpsbassi earned 500 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 15

Expert Comment

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 75
print map entry 34 54
why cannot we forward request once the response is committed 2 33
couple of eclipse 5 16
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

932 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now