一直报如下错误。。
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
profile 配置如下
#Setting PATH for JAVA 1.8.0_131 export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home" export PATH="$JAVA_HOME/bin:$PATH" export M2_HOME="/Users/a1/Downloads/apache-maven-3.5.4" export M2="$M2_HOME/bin" export PATH="$M2:$PATH" export PATH="/usr/local/mysql/bin:$PATH
弄一天了,希望各位大佬帮忙看一下,谢谢啦