maven安装问题解决

出现:
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

JAVA全部可以正常运行

解决方法:
JAVA_HOME的路径后不要有分号,另外就是最后要加上\

原文地址:https://www.cnblogs.com/Peit/p/11449307.html