简体   繁体   English

Google App Engine和Java版本

[英]Google App Engine and Java Version

Hi i installed java 7 and using eclipse Juno on ubuntu.i installed google app engine plugins(1.7.0 sdk) .i created a web project HelloWorld1 when i deploy it on google it gives me 500 internal server error Unsupported major.minor version 51.0 in google app engine .i go through some queries but unable to solved out.i am new to ubuntu.can any one please help how to solve this error.please help me. 嗨,我安装了Java 7,并在ubuntu.com上使用了Eclipse Juno。在google app引擎中。我经历了一些查询,但无法解决。我是ubuntu的新手。任何人都可以帮助解决该错误。请帮助我。

i again tried now i am using jre System library java-6-openjdk-i386 with appengine 1.7.0 sdk but still i am getting the same error 500 internal server error Unsupported major.minor version 51.0. 我现在再次尝试使用带Appengine 1.7.0 SDK的jre系统库java-6-openjdk-i386,但仍然收到相同的错误500内部服务器错误不支持的major.minor版本51.0。 please some one help for running my first project 请为我运行第一个项目提供一些帮助

You must compile your project with Java SE 6, GAE does not support Java SE 7. 您必须使用Java SE 6编译项目,GAE不支持Java SE 7。

Here you see all informations about the Java environment. 在这里,您将看到有关Java环境的所有信息。

Looks like Java 7 support has arrived as of last month. 看来Java 7支持已于上个月到达。 This have have cleared up the problem you were having. 这已经清除了您遇到的问题。

"In App Engine 1.7.5, released in February of 2013, the Java runtime added optional support for Java 7 as an experimental feature. " “在2013年2月发布的App Engine 1.7.5中,Java运行时添加了对Java 7的可选支持,作为一项实验功能。”

"In a future release, support for Java 6 will be removed, so it is a good idea to try running your existing Java 6-based app in the new Java 7 runtime while it is still optional." “在未来的发行版中,将删除对Java 6的支持,因此,最好在新的Java 7运行时中尝试运行现有的基于Java 6的应用程序,而仍然是可选的。”

https://developers.google.com/appengine/docs/java/java7 https://developers.google.com/appengine/docs/java/java7

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM