项目右键,build path,configure build path,右面窗口的Libraries,add library...,jre system library。