FIX: Error launching Android Studio No JVM installation found

Android Studio and Java Virtual Machine, the basics.

JVM means Java Virtual Machine and it can be used to execute certain codes in type bytecode JVM then converts this to other values. As a developer you do not have to develop a custom script to do this.
During the testing of one of my applications, I received the following error message:

"Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables."
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.”

In the tutorial below, I explain how you can solve this problem.


Let’s fix: “No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable”.

The overall error message already indicates how you can solve the problem. I have a tutorial with screenshots below so that it is clearer for the dummies among us.


First things, first…

Have you actually installed Oracle JDK? If not, google first on JDK and download the latest version.
I only have a link to Google search. I do not use the Oracle link, but a Google search link because the JDK version can be updated and so you always download the latest version.

LINK to Google.


The true fix for when you’ve installed JDK.

Go to Start and search for This PC.
Right-click on this PC and open the properties.

“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

Open Advanced System Settings in the menu to the right.

“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

The next window should be opened on the ‘Advanced’ tab. If not click ‘Advanced‘ > ‘Environment Variables…

“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

Add a new system variable.

“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

Edit the System Variable: 

  • Variable name: JAVA_HOME
  • Variable value: D:\Program Files\Java\JDK1.7.0_79

    “Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
    “Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

TI had the installation on the D-drive. As a result, the system variable was not applied correctly. So make sure that you indicate the correct location in the system variable.


Summary

The complete error message for those looking for another piece of the error message:

“Error launching Android Studio

No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.”

“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”
“Error launching Android Studio No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable.”

Published by

Bas

My name is Bas Wijdenes and I work full-time as a Services Engineer. In my spare time I write about the error messages that I encounter during my work. Furthermore, I am currently occupied with Office 365, Azure infra, and PowerShell for automating daily tasks.

One thought on “FIX: Error launching Android Studio No JVM installation found”

Leave a Reply

Your email address will not be published. Required fields are marked *