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即可成功。
————————————————
版權聲明:本文為CSDN博主「hd520superman」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/hd520superman/article/details/88046359
