How do I add execution environment 1.8 to Eclipse Luna?(如何将执行环境 1.8 添加到 Eclipse Luna?)
问题描述
我已安装 jre8 并将其设置为 jre 的默认值,但在编译器合规性下我找不到 1.8 并且在执行环境下我找不到 javaSE 1.8.我正在使用最新版本的 Eclipse EE.
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.
我看了这本手册http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-add_new_jre.htm但是我在我的 jre8 或 JDK1.8 安装目录中找不到任何 .ee 文件.
I took a look at this manual http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-add_new_jre.htm But I couldn't find any .ee files in my jre8 or JDK1.8 installation directories.
推荐答案
打开首选项并查看Java > 已安装的 JRE".如果那里没有显示 Java 8,请单击添加..."以添加它.关闭首选项.
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.
再次打开 Preferences 并查看Java > Installed JREs > Execution Environments",选择JavaSE-1.8"并确保您的 Java 1.8 被选中为 Compatible JRE
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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将执行环境 1.8 添加到 Eclipse Luna?


基础教程推荐
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 降序排序:Java Map 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01