title: Installing Maven 3 on Windows 7
body: <p>When I type "mvn --version" or "mvn -version", I always receive error "mvn is not recognized as an internal or external command, operable program or batch file.</p>
  
  <p>SO: WIN 7 64 bit</p>
  
  <p>Maven directory:
  <code>C:\Users\xxx\Documents\work\apache-maven-3.0.5</code></p>
  
  <p>In the system evironment variables I've set </p>
  
  <p>M2_HOME = C:\Users\xxx\Documents\work\apache-maven-3.0.5</p>
  
  <p>M2 = %M2_HOME%\bin</p>
  
  <p>JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21</p>
  
  <p>PATH = %JAVA_HOME%/bin;%M2%</p>
  
  <p>Can anyone see what i'm not doing right or what else i need to do to be able to use the mvn command, please and thank you.</p>