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