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.


转载:http://zhidao.baidu.com/question/2053876598889689747.html



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

解决问题:

    由于Eclipse使用的是JRE导致,添加JDK即可


http://my.oschina.net/zhuka/blog/124503?fromerr=DedzsFNy

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭