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

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

问题描述

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



我的问题是我可以开发带有jdk6和jre7组合的GoogleApp引擎吗?我一直在我的日志中发现错误,说明这个类是用错误的java编译的?

解决方案

好吧,在GAE的 page 它没有提及任何关于JDK7的具体内容,但我认为这就是只是因为该页面在一段时间内未被更新。我可以告诉你,我实际上使用GAE的JDK 7(几个月后就这样做了),一切正常。



通常情况下,JRE并没有进入这个公式,因为在本地运行GAE仍然会使用您用于dev的相同JDK。但是,如果您真的手动尝试使用JRE6来运行JDK7编译的类,这将无法正常工作,但我认为这不是问题。


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.

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?

解决方案

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.

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天全站免登陆