Installing maven on windows 7 64bit

2019-01-11 18:12发布

I want to create a Tapestry Skeletion Project. I follow to these guide: http://maven.apache.org/download.html#Installation, http://juanjoefe.com/tutoriales/instalar-maven-en-windows-7/ and other guides on the internet.

But, 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.

My friends use Windows 7 x86, and they had no problem. How can I install Maven 3.0.3 on Windows 7 x64?

8条回答
Emotional °昔
2楼-- · 2019-01-11 19:16

I had the same issue but was able to fix it.

When I set up maven_home, I had a semi-colon ; at the end. So when I set up path it become MAVEN;\bin .... I removed the semi-colon ; at the end and problem solved.

For some reason the ; does not matter in Windows XP, but is a problem in Windows7 (32 bit).

Nathan

查看更多
可以哭但决不认输i
3楼-- · 2019-01-11 19:16

I faced with this problem when use maven 3.3.3. Then tried with maven 3.3.9, it worked! Solution is download new version of maven.

查看更多
登录 后发表回答