更改jre,点击项目build path-->configure build path-->libraries-->jre library system-->edit-->更改 转载于:https://www.cnblogs.com/xiluhua/p/4376561.html