Installing the Android SDK problem

Ok so I'm trying to install the SDK for Android. I have downloaded and installed the JDK to this path C:\Program Files\Java\jdk1.7.0_07 and I have set up the environment variable JAVA_HOME at C:\Progra~1\Java\jdk1.7.0_07\bin . But When I try installing the Android SDK it tells me that it "cannot find java version for 'C:\Windows\system32\java.exe. I've tried creating a new variable and adding it to the PATH but it still won't recognize it.

EDIT: Also I'm running windows 7 64bit
install
JDK
Eclipse IDE
Android SDK
then add the android plugin to Eclipse
Done
I've got the JDK and eclipse IDE installed and the Android SDK will not find path for java.exe for some dumb reason.
you sure you have normal java installed XD.. yeah java is pretty gay, this should help with your path variable problem http://java.com/en/download/help/path.xml
I found the problem I was putting the path as C:\Program Files\Java\jdk1.7.0\bin and it should have been C:\Program Files\Java\jdk1.7.0_07\bin

Was forgetting the _07 :facepalm:

Original thread: https://assemblergames.com/threads/installing-the-android-sdk-problem.42139/