the java_home environment variable is not defined correctly
This environment variable is needed to run this program
NB: java_home should point to a jdk not a jre
1.删除掉原先配置的JAVA_HOME,重新配置一下即可;
2.然后运行mvn -v即可成功。
the java_home environment variable is not defined correctly
This environment variable is needed to run this program
NB: java_home should point to a jdk not a jre
1.删除掉原先配置的JAVA_HOME,重新配置一下即可;
2.然后运行mvn -v即可成功。