在MyEclipse中设置jdk的三处地方:1 选中项目右键菜单properties -->java Compiler
2 windows菜单中Preferences-->myeclipse-->serves-->edit
3 windows菜单中java-->Installed JREs