Install Android Studio (not working)

I try to install Android Studio for Windows, but I get an error: "Could not find the main class com / intellij / idea / Main"

I installed a 64-bit jdk and created a JAVA_HOME environment variable and linked it to my jdk as follows: "C: \ Program Files \ Java \ jdk1.7.0_71"

+3
java android
source share
4 answers

Are you sure you installed 64-bit?

Typically, for a 64-bit installation, the default will be "c: \ Program Files (x86) \ Java \ jdk1.7.0_71"

One more thing to check if your java installation is installed (compatible with 64-bit version).

but. open command prompt.

b. cd {install java} \ jdk1.7.0_71 \ bin

from. like "java" and "java -version" (see if both commands work)

+1
source share

Having JAVA_HOME installed to install the latest JDK (C: \ Program Files \ Java \ jdk1.7.0_79) will make Android Studio work. Make sure the path is correct. It seems that JDK_HOME is not needed.

+1
source share

Add the JDK_HOME system variable with the value c: \ Program Files \ Java \ jdk1.7.0_71 \

0
source share

Just install java jdk and jre and the runtime and upgrade java 8 to 45 bits in 64 bits if your computer has a 64-bit and 32-bit version, if your computer is 32 bit and then in the environment variable just remove / bin from it .

0
source share

All Articles