I have installed the Android Studio but whenever I open it, it says no JDK was found and it told me to install a 32-bit JDK. I'm using Windows 8. But I already have installed JDK and created a path in Environment Variables. In the variable name, I put JAVA_HOME and in the variable value, I put C:\Program Files\Java\jdk1.8.0_40\bin but it still told me to install a 32-bit JDK. What's wrong?