maven installation problems solved

出现:
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 can run all normal

Solution:
Do not have a semicolon after the path JAVA_HOME, and the other is the last to add \

Guess you like

Origin www.cnblogs.com/Peit/p/11449307.html