here is what I have set in User Variables to run maven..
JAVA_HOME
C:\Program Files\Java\jdk1.7.0_05
M2
%M2_HOME%\bin
M2_HOME
C:\Program Files\apache-maven-3.0.4
MAVEN_OPTS
-Xms256m -Xmx512m
PATH
%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;
but still a mvn --version
command gives my error.
I followed the steps in their own website and still getting the error.
Do you see anything wrong with what I posted above?
Have you restarted your command line window after PATH set up?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With