Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: Failed to load JVM DLL

I have thoroughly researched this problem and the posted solutions have not worked for me.

I'm running Windows 8, and the most recent JAVA JDK (64 bit) and Android Studio versions.

[System specs: new XPS 13, core i5, 8GB RAM, SSD]

The exact error is:

Failed to load JVM DLL C:\Program Files\Java\jdk1.8.0_45\jre\bin\client\jvm.dll

If you already have a 64-bit JDK installed, define a JAVA_HOME variable in ... Environment Variables

-- Verification --

java -version

java version "1.8.0_45"

Java(TM) SE Runtime Environment (build 1.8.0_45-b15)..

-- Things I've tried --

  • Uninstall java and AS, reboot, install 64 bit java jdk, verify installation, reboot, install AS, set JAVA_HOME variable
  • YES, the viable is an Environment variable and not a User variable
  • I have added the /bin/ directory to the "path" environment variable
  • I have reversed the slashes in the environment variable paths as per one solution stated
  • Followed the uninstall/reinstall process stated above, but with a 32bit jdk instead (with the correct environment variable paths)
  • Done the whole process over (uninstalling, rebooting after installs, etc.) but with older JDKs
  • I have tried running studio.exe with 32 bit JDK installed, and studio64.exe with the 64 bit JDK installed

I feel like I've tried everything. I HAD to have screwed up somewhere along the line. Any idea?

like image 602
burkem_10 Avatar asked Jul 08 '15 17:07

burkem_10


People also ask

How do I fix failed to load JVM DLL?

Add the path to the PhpStorm bin folder to the Path environment variable (for example, C:\Program Files\JetBrains\PhpStorm\bin ). After you configured the Path environment variable, you can run the PhpStorm commands. phpstorm64.exe . Save this answer.

What is the use of JVM DLL?

jvm. dll is the actual Windows implementation of the JVM (or better, the main entry point). C or C++ applications can use this DLL to run an embedded Java runtime, and that would allow the application to interface directly with the JVM, e.g. if they want to use Java for its GUI.

Why is Android studio not opening?

How do I fix launching Studio error? Open Start menu > computer > System Properties > Advanced System Properties. In the Advanced tab > Environment Variables, add a new system variable JAVA_HOME that points to your JDK folder, for example, C:\Program Files\Java\jdk1. 7.0_21.


1 Answers

This worked for me... Try running studio64.exe instead of studio.exe.

like image 147
Abhishek N Avatar answered Sep 21 '22 09:09

Abhishek N