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.

posted @ 2016-05-31 08:30  JoinGu  阅读(201)  评论(0编辑  收藏  举报