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

android studio PATH setting?

I downloaded and installed android studio. When I tried to launch studio64.exe because my pc is 64 bit operation, I had an error that goes: Failed to load JVM DLL C:\Programfiles\Java\jdk.1.7.0_51\jre like this.

I hit the Web and following the andwers I got there, I tried setting JAVA_HOME variable to C:\Program Files\Java\jdk1.7.0_51, which is jdk directory. Also I added C:\Program Files\Java\jdk1.7.0_51\bin to PATH variable.

It looks like most of users solve the problem here, but I didn't. But instead, studio.exe worked when I try launching it. I think I should launch studio64.exe because my pc is 64 bit operation so I feel strange if I keep using not 64 version without some information about why I can use not 64 and cannot 64.

Is this a usual phenomenon?

1 Answer

I'll go with the flow for now. But I don't feel secure, because I can't help imaging the time when someone says to me "dude you should have used 64 bit in the first place but now you have to build your stuff all over again.". In that case, I will build them again, though.