MyEclipse8.x 中如何设置默认JDK

来源:互联网 发布:网络危机公关处理公司 编辑:程序博客网 时间:2024/06/07 18:48

myEclipse8.5中的问题 compiler compliance level of project should be 5.0.your current workspace default is 6.0

具体步骤:菜单window->preferences->java->Installed JRES

点中了,右边的窗口点ADD按钮,记住选择添加安装了Java目录下的JDK目录,而不是JRE目录。在列表中选择你要使用的那个jdk版本。

然后Compiler项下,选择编译的jdk级别就可以了。


0 0
原创粉丝点击