When I launch an Android Studio software I saw the dialog box below showing
Error launching android studio The environment variable JAVA_HOME(with the value of C:\Program Files(x86)\Java\jdk1.7.0_40\bin) does not point to a valid JVM installation
My JDK is placed on the location mentioned above, why Android Studio software still can't detect it?