No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
使用Maven install命令是报错:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 这个意思是在该环境中不提供编译器。也许你是在JRE上运行,而不是JDK? 解决办法:点击项目右键->build path->Configure Build path 如果发现是JRE System Library[jre1.8.0],那么就点击Edit,修改为jdk。