No jvm found with Android studio, JAVA_HOME installed

I have a JAVA_HOME variable set to:

C: \ Program Files (x86) \ Java \ jdk1.7.0_45 \ And the path to jdk: C: \ Program Files (x86) \ Java \ jdk1.7.0_45

However, when I try to run android studio, I get an error message:

No JVM installation. Install the 64-bit JDK. If you already install the JDK, define the JAVA_HOME variable in the computer> System Properties> System Settings> Environment Variables.

+44
java android android-studio install
Nov 17 '13 at 16:33
source share
5 answers

It says it must be a 64-bit JDK. I have the feeling that you installed (in the past) a 32-bit version of Java. The path for all 32-bit applications on Windows 7 and Vista:

C:\Program Files (x86)\ 

You set the JAVA_HOME variable to the 32-bit version of Java. Set the JAVA_HOME variable to the following information:

 C:\Program Files\Java\jdk1.7.0_45 

If this does not work, make sure the JDK version is 1.7.0_45. If not, change the JAVA_HOME variable to (from JAVAVERSION as the Java version number:

 C:\Program Files\Java\jdkJAVAVERSION 
+86
Nov 17 '13 at 17:27
source share

Here is a tutorial: - http://javatechig.com/android/installing-android-studio and http://codearetoy.wordpress.com/2010/12/23/jdk-not-found-on-installing-android-sdk/

Adding a JDK_HOME system variable with a value of c: \ Program Files \ Java \ jdk1.7.0_21 \ worked for me. The latest version of Java can be downloaded here . Also, make sure the JAVA_HOME variable is also set to the location above.

Please note that the above location is my location in java. Submit your location on the way

+14
Nov 17 '13 at 16:41
source share

When you install it "for all users" (not only for the current user), you will not need to direct Android Studio to JAVA_HOME. Of course, JDK is installed.

+1
May 24 '14 at 21:24
source share

Although the question has been asked for a long time, I see this problem recently after installing Android Studio 2.1.0v and JDK 7.80 on my computer Windows 10, 32-bit OS. I got this error.

No JVM installation. Install the 32-bit JDK. If you already install the JDK, define the JAVA_HOME variable in the computer> System Properties> System Settings> Environment Variables.

I tried different ways to fix this. But according to the system requirements on the Android developer website.

Solved after installing JDK 8 (jdk-8u101-windows-i586.exe) link to the JDK download site .

Hope this helps someone.

+1
Sep 03 '16 at 19:32
source share

For me, the matter was completely different. I created the studio64.exe.vmoptions file in C: \ Users \ YourUserName \ .AndroidStudio3.4 \ config . In this folder, I had a typo of extra spaces. Because of this, I was getting the same error.

I replaced studio64.exe.vmoptions with the following code.

 # custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html -server -Xms1G -Xmx8G # I have 8GB RAM so it is 8G. Replace it with your RAM size. -XX:MaxPermSize=1G -XX:ReservedCodeCacheSize=512m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -da -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -Didea.paths.selector=AndroidStudio2.1 -Didea.platform.prefix=AndroidStudio 
0
Jul 24 '19 at 17:00
source share



All Articles