报错截图如下

1.eclipse 添加 jre

  Window -> Preferences -> Java -> Installed JREs

  If you can’t find any JDK on the list -> click ‘Add’ -> ‘Standard VM’ -> set all paths and click ‘Finish’.

  After that – check this JDK on the list of installed JREs and click ‘OK’.

2.eclipse根目录下修改eclipse.ini文件

  

  图片中加量部分是添加的位置和内容,路径是本机jdk安装路径

 

  修改ok后,重启eclipse后一切恢复正常

posted on 2013-12-03 16:48  爱生活的夜  阅读(240)  评论(0编辑  收藏  举报