问题描述
我已经安装了jre8,并将其设置为jre的默认值,但是在编译器合规性下,我找不到1.8并且在执行环境下找不到javaSE 1.8。我正在使用Eclipse EE的最新版本。我看了这本手册
但是在我的jre8或JDK1.8安装目录中找不到任何.ee文件。
打开首选项并查看Java>已安装的JRE。如果您没有显示Java 8,请单击添加...添加它。关闭首选项。
再次打开首选项,查看Java>已安装的JRE>执行环境,选择JavaSE-1.8,并确保您的Java 1.8被选中兼容JRE
I have jre8 installed and set as the default for the jre but under compiler compliance I can't find 1.8 and under execution environment I can't find javaSE 1.8. I'm using the latest build of Eclipse EE.
I took a look at this manualhttp://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-add_new_jre.htmBut I couldn't find any .ee files in my jre8 or JDK1.8 installation directories.
Open Preferences and look in 'Java > Installed JREs'. If you don't have a Java 8 shown there click 'Add...' to add it. Close the preferences.
Open Preferences again and look in 'Java > Installed JREs > Execution Environments', select 'JavaSE-1.8' and make sure your Java 1.8 is checked as the Compatible JRE
这篇关于如何将执行环境1.8添加到Eclipse Luna?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!