I\'m trying to instal Android Studio for Windows but I get an error: \"Could not find main class com/intellij/idea/Main\"
I installed the 64 bit jdk and created an e
Add a system variable JDK_HOME with value c:\Program Files\Java\jdk1.7.0_71\
Having JAVA_HOME set to point latest JDK version (C:\Program Files\Java\jdk1.7.0_79) will make the Android studio work. Make sure the path is correct. Seems that JDK_HOME is not needed.
Just install java jdk and jre and runtime environment and java 8 update 45 in 64 bit if your computer is 64 bit and 32 bit if your computer is 32bit and then in your environment variable just remove the /bin from it.
Are you sure you have installed 64bit ?
Generally for 64bit installation default path will be "c:\Program Files (x86)\Java\jdk1.7.0_71"
Another thing to check if your java installation ( 64bit is compatible ) is fine.
a. open command prompt.
b. cd {your java installation}\jdk1.7.0_71\bin
c. type "java" and "java -version" ( See if both command works )