Android Studio: Failed to load JVM DLL

I have researched this issue thoroughly and the solutions posted did not work for me.

I am running Windows 8 and the latest JAVA JDK (64 bit) and Android Studio.

[System Specifications: New XPS 13, i5 Core, 8GB RAM, SSD]

The exact error:

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

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

- Check -

java -version

java version "1.8.0_45"

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

- Things I've Tried -

  • Remove java and AS, reboot, install 64-bit java jdk, check installation, reboot, install AS, set JAVA_HOME variable
  • YES, viable is an environment variable, not a user variable
  • I added the / bin / directory to the "path" environment variable
  • I changed the slashes in environment variables as stated in one of the stated
  • Following uninstall / reinstall process as above but with 32-bit jdk (with correct environment variable paths)
  • Complete the whole process (uninstall, reboot after installation, etc.) but with old JDKs
  • I tried to run studio.exe with 32-bit JDK installed and studio64.exe with 64-bit JDK installed

I feel like I've tried everything. I had to squint somewhere along the line. Any idea?

+7


source to share


5 answers


Try to run android studio as administrator. This worked for me. Try installing a different version of Android Studio.



+17


source


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



+7


source


I tried everything, nothing worked. Restart my laptop, Android Studio works fine.

+1


source


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

I checked my Java install path. I found that jvm.dll is located in C: \ Program Files \ Java \ jdk1.8.0_45 \ jre \ bin \ server.

see screenshot.

enter image description here

0


source


I got it working. I deleted everything again. Reinstalled 64bit jdk, remade environment variable, rebooted, reinstalled Android Studio and still didn't work.

I downloaded the 32 bit JDK just got a chuckle and installed it. I didn't uninstall 64bit java ... I pointed my environment variable to 32bit JDK directory and tried to start Androd studio with 32bit .exe (not studio64.exe) and it worked.

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

Thanks for the help, everyone.

0


source







All Articles