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
EDIT: Also I'm running windows 7 64bit