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?


- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01