burkem_10
burkem_10

Reputation: 133

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 --

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

Upvotes: 12

Views: 33364

Answers (7)

bomben
bomben

Reputation: 620

I installed Microsoft Visual C++ X86 or X64 from here and AS started up fine.

Upvotes: 1

Ryan Gammon
Ryan Gammon

Reputation: 51

I had to install vcruntime140_1.dll via https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170 to solve the this issue. I used process monitor to see that it was missing.

Upvotes: 5

Rohit Kumar
Rohit Kumar

Reputation: 41

Tried everything nothing worked. Restarted my laptop, Android Studio works perfectly.

Upvotes: 4

Abhishek N
Abhishek N

Reputation: 611

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

Upvotes: 28

Shankara Narayana
Shankara Narayana

Reputation: 765

Try running android studio as Administrator. That worked for me. Try installing a different version of Android Studio.

Upvotes: 30

burkem_10
burkem_10

Reputation: 133

I got it working. I uninstalled everything again. Reinstalled the 64 bit jdk, remade the environment variable, rebooted, reinstalled Android Studio and it still was not working.

I downloaded the 32 bit JDK just got giggles and installed it. I did not uninstall the 64 bit java... I pointed the environment variable to the 32 bit JDK directory and tried to launch Androd studio with the 32 bit .exe (not studio64.exe), and it worked.

I guess I'll have to live without 64 bit.

Thanks for the help, everyone.

Upvotes: 0

Jegg
Jegg

Reputation: 549

you said you have added /bin/ directory to the "path" environment variable, if you are putting C:\Program Files\Java\jdk1.8.0_45\jre\bin .that is wrong it should be C:\Program Files\Java\jdk1.8.0_45\jre\bin\client to path system variable and you put it as first item.

I checked my java installation path. I found jvm.dll is located at C:\Program Files\Java\jdk1.8.0_45\jre\bin\server please check yours.

see the screen shot.

enter image description here

Upvotes: 0

Related Questions