javaandroid-studiojvm-crash

Android studio displaying error: Failed to load JVM


Error Message

The error message I'm receiving reads:

Failed to load JVM DLL C:\Program Files\Android\Android Studio\jbr\\bin\server\jvm.dll
If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.

I am running a 2022 Framework laptop with Windows 11, attempting to install 64-bit Electric Eel Android Studio. I believe this problem originated when I was attempting to uninstall Android Studio after running (breaking) an emulator.

It appears in a small window instead of Android Studio. I already tried uninstalling every Java-related thing, reinstalling Java from the Oracle website, hard resetting my whole computer and deleting all files, and reinstalling Android Studio. Is there any way that I can easily reconfigure it?


Solution

  • Thanks for all the help guys! I ended up installing Microsoft Visual C++ X64, and then restarting Android Studio.