Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Getting Started with Android Setting Up an Android Development Environment for Windows

have installed the jdk and android studio but its telling me that there is no jvm installed

its telling me to install a 32 bit version of jdk but my machine is a 64 bit

+1 on this question.

3 Answers

Ivan Sued
Ivan Sued
5,969 Points

Did you create a Environment Variable that points to your 64bit installation? The variable should be called JAVA_HOME and points to your sdk

yes i have : C:\Program Files\Java\jdk1.8.0_25

is this the correct one

Ivan Sued
Ivan Sued
5,969 Points

Hmm, yeah that is exactly how my directory is too. I thought maybe you had the C:\Program Files(x86)\Java\jdk1.8.0_25 instead of the one you have. Just to rule out anything else, your variable name is JAVA_HOME like below? If so maybe try installing java again and see if that works.

And make sure you are opening the 64bit android exe instead of the other one.

Ivan Sued
Ivan Sued
5,969 Points

Hmm, yeah that is exactly how my directory is too. I thought maybe you had the C:\Program Files(x86)\Java\jdk1.8.0_25 instead of the one you have. Just to rule out anything else, your variable name is JAVA_HOME like below? If so maybe try installing java again and see if that works.

And make sure you are opening the 64bit android exe instead of the other one.

It looks like you have Java 8 installed. Try installing Java JDK version 6 from Oracle here: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

Android Studio at the moment needs version 6 installed to work. I was getting the same message when only having Java 8 installed.

Let us know if this works for you.