1
In Windows 7 I have added two user environment variables:
M2_HOME %PROGRAMFILES%\Apache\apache-maven-3.0.2
M2 %M2_HOME%\bin
In my head, both of those should work, however, only the first one does for some reason. What I mean is that I in a command prompt can type
cd %M2_HOME%
Which works fine, but
cd %M2%
Which does not. What's going on here?
Reboot. – Synetech – 2011-06-30T00:46:54.997