Click here to Skip to main content
15,884,353 members
Articles / Mobile Apps / Android
Tip/Trick

[Solved] No JVM Installation Found. Please Install 64bit JDK

Rate me:
Please Sign up or sign in to vote.
3.22/5 (2 votes)
24 Aug 2015CPOL1 min read 101.6K   2   4
Step by step solution of Android Studio "No JVM Installation" error

Introduction

After intalling the Android Studio on Windows platform, you might get the following error:

Image 1

Here, we explain a step by step solution for the same.

1. Create JAVA_HOME Variable

First, you need to test if you have JAVA_HOME variable defined. To test it:

I. Right click on Computer and choose properties:

Image 2

II. Choose Advance System Settings from the next window:

Image 3

III. From the System Properties windows, click on Environment Variable button.

Image 4

IV. If no JAVA_HOME is defined, then define one by clicking on the New button.

Image 5

V. Enter JAVA_HOME as Variable Name and for Variable Value, you need to find Java folder, which could be in here C:\Program Files (x86)\ or C:\Program Files\ depending on the architecture of your OS. In the Java folder, find folder jdk[version number]. In our case, it is jdk1.7.0_79.
Open this folder and copy the absolute path of this folder.

In our case, the path is C:\Program Files (x86)\Java\jdk1.7.0_79, so we will copy this path and enter in Variable Value and click okay.

Image 6

VI. Now, you will have JAVA_HOME variable defined. Click OK button.

Image 7

Change the Target File

Now start Android studio again, if you still face the error, go through the following steps:

I. Click on Start and right click the Android Studio icon, and choose properties.

Image 8

II. In the Properties Window, check the value of target, in our case, it is:

"C:\Program Files\Android\Android Studio\bin\studio64.exe"

Delete 64 from the target path and click OK, as shown below:

Image 9

In our case, the new value for target is:

"C:\Program Files\Android\Android Studio\bin\studio.exe"

Now, start Android Studio again. Hopefully, the error would have gone.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionThank you so much Pin
Member 1255341129-May-16 10:51
Member 1255341129-May-16 10:51 
QuestionIt working :) Pin
Member 110716093-Apr-16 20:59
Member 110716093-Apr-16 20:59 
Praisegeat Pin
Member 1232354412-Feb-16 4:47
Member 1232354412-Feb-16 4:47 
SuggestionTitle Pin
Marco Bertschi25-Aug-15 2:22
protectorMarco Bertschi25-Aug-15 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.