1.选择项目右击,选择Build Path–>Configure Build Path。 2.点击JRE System Library JavaSE-1.8–>Edit3.选择自己安装的JRE版本–>Finish 相关文章: