Android build Java JDK problem

I’m trying to build an Android game. I have the Android SDK installed and selected in the preferences and the Java JDK installed, but I’m still getting the “Unable to find suitable jdk installation” error. What should I do?

I read a thread in the past that had a kind of similar problem, and they said the solution was that they were using a 64-bit version of the JDK, but Unity required a 32-bit version. Maybe that is related?

–

4 Answers

4

downgrade to jdk 1.6.
it should work

its worked for me !!!! thanks

–

I had the exact same issue right now. I have 64 bit Windows and installing the 32 bit version of the JDK did the trick.

yes this was also for me the solution.

–

On 64 bit OS, I believe 32 bit Java is required as well as 64. 64 Bit OS still need 32 bit functionality.

–

Right click the 64 bit jdk install,properties,compatiblity…under compatibltiy mode, set from win vista to win 7…that worked for me…im running win 8, the 32 bit version would not install.

Not a single answer?