1、选择help->点击 install from catalog 2、在搜索框里面输入java 8然后回车 等待安装成功就好了!重启myeclipse,打开java compiler 就可以选择1.8了。