Windows 7 environment variable not working in path

后端 未结 14 2143
[愿得一人]
[愿得一人] 2020-12-07 23:00

I am trying to set up some path using environment variable. I added an environment variable \"MAVEN_HOME\" with the value \"C:\\maven\". Then in the path I added \"%MAVEN_HO

14条回答
  •  粉色の甜心
    2020-12-07 23:23

    Also worth making sure you're using the command prompt as an administrator - the system lock on my work machine meant that the standard cmd just reported mvn could not be found when typing mvn --version

    To use click 'start > all programs > accessories', right-click on 'command prompt' and select 'run as administrator'.

提交回复
热议问题