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

来源:互联网 发布:字符串相似度算法 编辑:程序博客网 时间:2024/06/03 05:42
今天在跑maven的时候eclipse出现的问题,:
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
解决办法如下:
 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
原创粉丝点击