Java – Android Studio installed (not working)

Android Studio installed (not working)… here is a solution to the problem.

Android Studio installed (not working)

I’m trying to install Android Studio for Windows and I get the error: “Main class com/intellij/idea/Main not found”

I installed a 64-bit jdk and created an environment variable named JAVA_HOME and linked it to my jdk: “C:\Program Files\Java\jdk1.7.0_71”

Solution

Are you sure you already have 64-bit installed?

Typically for 64-bit installations, the default path is “c:\Program Files (x86)\Java\jdk1.7.0_71”

Another thing is to check if your Java installation (64-bit compatible) is working.

One. Open a command prompt.

cd {your java installation}\jdk1.7.0_71\bin

Enter “java”

and “java -version” (see if these two commands work).

Related Problems and Solutions