Windows配置maven 出现The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this propram JAVA_HOME should point to a JDK not a JRE
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this propram
JAVA_HOME should point to a JDK not a JRE
检查环境变量,JAVA_HOME 多了一个bin,把bin去掉即可,path中依然保留bin