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 Getting Started with Android A Brief Introduction to Android Tools

Michael R.
Michael R.
6,935 Points

Stuck on Opening Android Studio

Help, I'm stuck on launching the Android Studio. Error says: The Environment variable JAVA_HOME(with the value of C:\Program Files(x86)\Java\jdk1.8.0_25) does not point to a valid JVM installation.

3 Answers

Hi Michael,

Have a look at these posts which should get you started:

http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found

http://stackoverflow.com/questions/21119021/installing-android-studio-does-not-point-to-a-valid-jvm-installation-error

You need to point your JAVA_HOME at the right place.

Mine is C:\Program Files\Java\jdk1.8.0_25\bin\java.exe - (not x86) - try typing java where in a command prompt to find yours. Once you've established its location, you need to amend you environment variable of JAVA_HOME. Go to System Properties (advancaed) and there's a button for environment variables. Add it in there, or amend the existing one to the new path.

I hope that helps,

Steve.

Michael R.
Michael R.
6,935 Points

Thanks for the help! I already did what they said on the SO links you gave before I posted the question. But your instructions really did help me.

By the way, I got another problem. I am running AMD processor, is it okay if I skip and don't install Intel HAXM? Thanks

Hi Michael,

I think if you're not using Intel, then it is fine to skip the HAXM installation. It is easy to install later, if skipping it does cause problems.

Steve.