简体   繁体   English

错误 App Engine Java 标准环境 JRE8 需要 Java 1.8

[英]error App Engine Java Standard Environment JRE8 requires Java 1.8

I develop on mac a project in google app engine with eclipse version 12.2018 and i get error like this when i compile the project: "App Engine Java Standard Environment JRE8 requires Java 1.8"我在 mac 上用 Eclipse 版本 12.2018 在谷歌应用引擎中开发了一个项目,当我编译项目时出现这样的错误:“App Engine Java 标准环境 JRE8 需要 Java 1.8”

I added JRE system library java se 1.8我添加了 JRE 系统库 java se 1.8

the project will compile without error该项目将编译而不会出错

You can check if java 1.8 is listening by going to (in eclipse):您可以通过转到(在 eclipse 中)来检查 java 1.8 是否正在侦听:

Preferences > Java > Installed JREs首选项 > Java > 已安装的 JRE

I would also recommend you to verify the file in order to know the version used:我还建议您验证文件以了解使用的版本:

/.settings/org.eclipse.wst.common.project.facet.core.xml /.settings/org.eclipse.wst.common.project.facet.core.xml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “Java 运行时环境检测到一个致命错误:”在 JRE(1.8) 上运行 Java 项目时 - “A fatal error has been detected by the Java Runtime Environment: ” when running Java Project on JRE(1.8) 在JDK8 / JRE8 + Eclipse Luna上进行Google App Engine开发 - Google App Engine development on JDK8/JRE8 + Eclipse Luna 错误:无法打开“C:\Java\jre8\lib\amd64\jvm.cfg” - Error: could not open 'C:\Java\jre8\lib\amd64\jvm.cfg' 为什么将 Spring Boot (Java) 应用程序部署到 Googles App Engine 会在灵活和标准环境中出现错误? - Why deploying a spring boot (Java) application to Googles App Engine gives error for both Flexible and Standard environment? Google App 引擎标准环境中的 Java 堆转储? - Java heap dump in Google App engine standard environment? Google Cloud Memorystore通过“ App Engine Java标准环境”进行连接 - Google Cloud Memorystore connect from “App Engine Java Standard Environment” Java App Engine标准环境服务器缓存静态资源 - Java App Engine Standard Environment server caching static resources 更新到 App Engine Java 11 标准环境:Eclipse 中的项目方面 - Updating to App Engine Java 11 Standard Environment: Project Facets in Eclipse 错误:java:javacTask:源版本 1.8 需要目标版本 1.8 - Error:java: javacTask: source release 1.8 requires target release 1.8 在 Mac 上使用 App Engine 时出现问题 Java JRE - Problem using App Engine on Mac Java JRE
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM