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

Error launching Android Studio

I can not run And. Stu.

I have instalen last version of JAVA , but the error is from beginning !

i paste the Error

please help to run the android Studio


Error launching Android Studio

The environment variable JAVA_HOME (with the value of C:\Program Files (x86)\Java\jre7) does not point to a valid JVM installation.

OK

2 Answers

Kourosh Raeen
Kourosh Raeen
23,733 Points

JAVA_HOME should point to the location of the JDK, not the JRE, so it should look something like this:

C:\Program Files\Java\jdk1.7.0_45

HI Kourosh , Thx But how i can change it ? the Android Studio Dose not Run at all !

Kourosh Raeen
Kourosh Raeen
23,733 Points

Here's a YouTube video that shows you how to set JAVA_HOME on windows: https://www.youtube.com/watch?v=GR1mUi5HSBU

If you prefer written instructions then check out this link: http://stackoverflow.com/questions/2619584/how-to-set-java-home-on-windows-7

Thanks buddy !