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_HOME删掉
和path中的%JAVA_HOME%\bin也删掉就好了
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_HOME删掉
和path中的%JAVA_HOME%\bin也删掉就好了