简体   繁体   English

在Windows 7中使用Android SDK R13的JDK 7

[英]JDK 7 with Android SDK R13 in windows 7

I want to use JDK 7 64bit for android development. 我想用JDK 7 64bit进行android开发。 But in system requirement of android development it is said that it need's "JDK 5 or JDK 6". 但是在android开发的系统需求中,据说它需要“JDK 5或JDK 6”。 Is there any problem if i want to use latest JDK 64bit with latest android SDK and new eclipse IDE 64bit? 如果我想使用最新的Android SDK和新的eclipse IDE 64bit最新的JDK 64bit有什么问题吗?

Note: 注意:

JDK 7 64-bit works without issue on Windows7 64-bit, however you will probably need to download both the 32-bit and 64-bit versions of the SDK. JDK 7 64位在Windows7 64位上没有问题,但是您可能需要同时下载32位和64位版本的SDK。 I'm not sure why they haven't solved this issue but the fix works, and JDK 7 works fine with Android. 我不确定为什么他们没有解决这个问题,但修复工作正常,JDK 7适用于Android。

The JDK detection problem in the Android SDK is a known (and annoying) issue. Android SDK中的JDK检测问题是一个已知(并且令人讨厌)的问题。

To solve this, after getting the message that the SDK wasn't detected, just hit the "Back" button and then the "Next" button again and it should detect the JDK properly 要解决此问题,在收到未检测到SDK的消息后,只需再次点击“返回”按钮然后再点击“下一步”按钮,就可以正确检测到JDK

Some systems I installed it on worked with the 64-bit JDK, and some didn't detect it, requiring me to install the 32-bit one as well. 我安装它的一些系统使用64位JDK,有些系统没有检测到它,要求我也安装32位系统。 Either way, it worked with Eclipse x64 just fine. 无论哪种方式,它都适用于Eclipse x64。

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

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