eclipse中提示change project compliance and jre to 1.7

报错项目->build path->Configure Build Path->Libraries->Add Library->JRE System Library->Alternative JRE,选择新的JRE(如果没有请安装):

eclipse中提示change project compliance and jre to 1.7

确定后结果如下:

eclipse中提示change project compliance and jre to 1.7