Eclipse 提示No compiler is provided in this environment. Perhaps you are running on a JRE rather than

来源:互联网 发布:淘宝卖家怎样上图 编辑:程序博客网 时间:2024/06/16 05:52

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

myeclipse2014 配置 maven 3.3.3 ,在myeclipse中, 点击pom.xml 文件时,报的错误,

  • 解决办法:
      1、eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,例如JRE home:D:\Program Files (x86)\Java\jdk1.6.0_45
      2、ALT+F5 进行 update project 。
      3、Debug or Run again.

0 0