Google App Engine 和 Java 版本? [英] Google App Engine and Java Version?

查看:26
本文介绍了Google App Engine 和 Java 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 jre 7 和 jdk 6u29.我无法安装 jre6,因为它的旧版本正在停止安装,我已经尝试删除它的所有痕迹,但它仍然告诉我安装了旧版本.

I have jre 7 installed and jdk 6u29. I can't install jre6 because an old version of it is stopping the install, I've tried removing all traces of it but it still telling me an old version is installed.

我的问题是我可以使用 jdk6 和 jre7 组合为 GoogleApp 引擎开发吗?我的日志中不断出现错误,表明该类是用错误的 java 版本编译的?

My question is can I develop for GoogleApp engine with jdk6 and jre7 combination? I keep getting error in my logs that indicate the class was compiled with the wrong version java?

推荐答案

好吧,关于 GAE 的 页面 它没有说明任何关于 JDk7 的具体内容,但我认为那只是因为该页面有一段时间没有更新.我可以告诉你,我确实使用 JDK 7 和 GAE(已经这样做了几个月),一切都很好.

Well, on GAE's page it doesn't say anything specific about JDk7, but I think that's just because the page hasn't been updated in a while. I can tell you that i do infact use JDK 7 with GAE (have done so for months) and everything's fine.

通常 JRE 不会进入这个等式,因为在本地运行 GAE 仍然会使用您用于开发的相同 JDK.但是,如果您确实要手动尝试使用 JRE6 运行 JDK7 编译的类,这将不起作用,但同样,我认为这在您的上下文中不是问题.

Normally the JRE doesn't enter in this equation, as running the GAE locally will still make use of the same JDK you use for dev. However if you indeed would manually try to run a JDK7 compiled class using JRE6 this would not work, but again, I don't think this is an issue in your context.

这篇关于Google App Engine 和 Java 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆