No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Scroll Down

Maven打包出现

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

在Windows中CMD打包项目,一般都是没有设置环境变量;

在Eclipse IDE上,进入Window> Preferences> Java> Installed JREs>并检查已安装的JRE。 应该有一个JDK条目。

Windows-->preferences-->installed jres--> jdk1.7.xx  path