MyEclipse出现下面两条报错:
The project cannot be built until build path errors are resolved HelloWord Unknown Java Problem
Unbound classpath container: 'JRE System Library [JavaSE-1.7]' in project 'java project name' java project name Build path Build Path Problem
解决方案:
1、检查是否正确安装jdk,检查java的环境变量设置
2、正确安装以后,打开MyEclipse/ Eclipse 的 Window -> Preferences -> Java –> Installed JREs 进行配置。
点击窗体右边的“add”,然后添加一个“Standard VM”,然后点击“next”;
在”JRE HOME”那一行点击右边的“Directory…”找到你java 的安装路径,比如“C:Program FilesJavajdk1.7.0_09”