Apache Maven installation in windows 8

2019-06-23 19:45发布

I followed steps mentioned in this link http://maven.apache.org/download.cgi

Whenever I type mvn --version in cmd. I got 'mvn' is not recognized as an internal or external command, operable program or batch file.

But when I opened cmd with "Run as a administrator" it worked.

OS: windows 8

How can I run mvn for any user on windows 8.

7条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-06-23 20:28

I had to move the installation directory of Maven into C:\Users*your_username*, so that Maven no longer required admin permissions. The PATH variables started working after that.

查看更多
登录 后发表回答