Harry
Harry

Reputation: 782

Android Studio: No JVM installation found, define JAVA_HOME even after doing so

I am installing the Android Studio for the first time. I am getting this error when I try to open the Studio:

No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable

I have already installed the most recent Java JDK and have set the JAVA_HOME variable to point to it. For some reason it is still saying it can't find a JVM installation. Any idea how I can solve this? Thanks.

enter image description here enter image description here

java -version:

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Upvotes: 0

Views: 2007

Answers (3)

Ali Sadri
Ali Sadri

Reputation: 1676

i have the same problem i solve that by installing 64bit version of jdk instead of 32 bit and define JAVA_HOME variable in system setting section

Upvotes: 1

Aashir
Aashir

Reputation: 2621

The problem is that you've installed the 32bit edition of Java ad the files are located in Program File x86. Try reinstalling Java and making sure its the 64bit edition. If it was, it would simply be installed in Program Files.

Upvotes: 1

Davide
Davide

Reputation: 614

Try to export JAVA_HOME in path, append:

My JAVA_HOME: C:\Program Files\Java\jdk1.7.0_25 (no backslash at the end)

My path: ...;%JAVA_HOME%\bin;

Upvotes: 0

Related Questions