No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
场景
mvn install
解决
找到mvn.cmd,编辑,在最上面添加一行,jdk的目录
set JAVA_HOME=F:\Software\java8\jdk
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
mvn install
找到mvn.cmd,编辑,在最上面添加一行,jdk的目录
set JAVA_HOME=F:\Software\java8\jdk