1:修改jdk:windows---preference,如图: 2:修改编译器1.6:点击项目---右键---properties,如图: 转载于:https://www.cnblogs.com/m-xy/archive/2013/03/21/2973148.html