Monday, December 1, 2014

How to Fix the Error "No JVM installation found" on Android Studio Setup


This tutorial is about How to Fix the Error "No JVM installation found" on Android Studio Setup.
The Android Studio IDE runs upon the JRE (Java Runtime Environment) and the JDK (Java Development Kit).  The "No JVM installation found" error informs us that at least one of the tools is not installed on our machine, or that there is not an Environment Variable available to tell the system where the JDK is located.
How to Fix the Error "No JVM installation found" on Android Studio Setup0

Therefore we take care of the error in one or both of the following ways:
1) download the JDK
2) create an Environment Variable to the JDK


 How to Fix the Error "No JVM installation found" on Android Studio Setup



1) To download and install the JDK and the JRE , just go to Oracle and download the two packages, then follow the setup instructions:
How to Fix the Error "No JVM installation found" on Android Studio Setup







2) To create an Environment Variable, open your "Start" window, go to your "Computer" link, and once inside , click "Advanced system settings":
How to Fix the Error "No JVM installation found" on Android Studio Setup1

On "System Properties" choose the "Advanced" tab:


How to Fix the Error "No JVM installation found" on Android Studio Setup2


Then click on "Environment Variables":


How to Fix the Error "No JVM installation found" on Android Studio Setup3

Go to "System Variables" and click "New":


How to Fix the Error "No JVM installation found" on Android Studio Setup4


There type "JAVA_HOME":

How to Fix the Error "No JVM installation found" on Android Studio Setup5

Set the variable value to the path where you previously installed the JDK (usually is "C:\Program Files\Java\jdkX.X.X_XX" - according to the version that you have on your machine):


How to Fix the Error "No JVM installation found" on Android Studio Setup6

Click "OK" and check that the new System Variable has been added:


How to Fix the Error "No JVM installation found" on Android Studio Setup7





 As you see, after this few steps , your Android Studio can find the Java environment and work smoothly.

Enjoy Android!!!!


By Carmel Shvartzman

עריכה: כרמל שוורצמן