8

I want to use JDK 7 64bit for android development. But in system requirement of android development it is said that it need's "JDK 5 or JDK 6". Is there any problem if i want to use latest JDK 64bit with latest android SDK and new eclipse IDE 64bit?

Note:

Shahjalal
  • 1,163
  • 7
  • 21
  • 38
  • It says so because JDK 7 wasn't released when they wrote that, but I still don't see a point in using JDK 7 for Android development since the phones doesn't support that version. – Kaj Jul 29 '11 at 12:57
  • JDK 7 was literally released yesterday. – eternalmatt Jul 29 '11 at 13:09
  • I don't find an SDK r13. I only see an SDK r12 (July 2011) on http://developer.android.com/sdk/index.html –  Sep 17 '11 at 19:48
  • It's been a little over three years after this question was asked, and the document (http://developer.android.com/sdk/installing/installing-adt.html) for the Eclipse plugin references JDK 6. The link provided takes you to an Oracle page which displays obvious links for downloading Java SE 8 and 7 products. If you're clever, you can navigate to JDK 6 downloads with a couple clicks from that page. I think "Use Android Studio" is being slyly written between the lines :) – gcbound Sep 12 '14 at 17:37

3 Answers3

4

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. I'm not sure why they haven't solved this issue but the fix works, and JDK 7 works fine with Android.

Ice Phoenix
  • 1,001
  • 3
  • 16
  • 34
3

The JDK detection problem in the Android SDK is a known (and annoying) issue.

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

Jonathan Perry
  • 2,953
  • 2
  • 44
  • 51
2

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. Either way, it worked with Eclipse x64 just fine.

Shawn Walton
  • 1,714
  • 2
  • 14
  • 23