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 trialLiberty Dandira
932 Pointshave 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
3 Answers
Ivan Sued
5,969 PointsDid you create a Environment Variable that points to your 64bit installation? The variable should be called JAVA_HOME and points to your sdk
Liberty Dandira
932 Pointsyes i have : C:\Program Files\Java\jdk1.8.0_25
is this the correct one
Ivan Sued
5,969 PointsHmm, 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
5,969 PointsHmm, 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.
James Pamplona
10,015 PointsIt 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.
Richard Avendano
520 PointsRichard Avendano
520 Points+1 on this question.