-1

Possible Duplicate:
Installing maven on windows 7 64bit

maven works when called directly from the bin directory, but have tried a variety of combinations with windows 7 environment variables, and nothing works.

Hopefully the below screenshot captures everything - the path is set, m2_home is set, mvn works when called directly in the same location as specified on path....

mvn wtf ?

Community
  • 1
  • 1
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311

2 Answers2

1

you have to remove the space before %M2_HOME% - the windows PATH environment variable does not allow using spaces without getting confused.

wemu
  • 7,952
  • 4
  • 30
  • 59
-1

Is there a space between CATALINA_HOME%\bin; and M2_HOME\bin try removing it. BTW what do you get when you echo PATH?

ch4nd4n
  • 4,110
  • 2
  • 21
  • 43