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

Darren Hoyne
Darren Hoyne
2,384 Points

Issue when trying to launch Android Studio

Hi all,

I've spend the past few hours at this and can't seem to find what I've done wrong..

I downloaded Java and the file as per the links at the bottom of the page but when I go to launch the 64 bit version after unzipping the folder I get two error messages.

The first is because the MSVCR100.dll is missing from my computer. After I click OK on this the following error message pops up: Failed to load JVM DLL C:\Program Files\Java\jdk1.7.0_67\jre

As per other suggestions I have deleted and re-downloaded folder, I do have the environment variable named JAVA_HOME with location of C:\Program Files\Java\jdk1.7.0_67 , I have tried uninstalling and reinstalling Java, all to the same two warning messages. And my pc is 64 not 32.

Any more suggestions guys? Thanks, Darren

1 Answer

samy alihamad
samy alihamad
9,690 Points

Darren, To fix the MSVCR100.dll error you need to download the Microsoft Visual C++ Redistributable. The links for both 32 bit and 64 bit are below: 32 bit: http://www.microsoft.com/download/en/details.aspx?id=5555 64 bit: http://www.microsoft.com/download/en/details.aspx?id=14632

For the issue with JVM DLL not being found, I would check to make sure that you do not have a duplicate JAVA_HOME variable being declared before the one you added. If that is the case, the first JAVA_HOME variable is going to be used and not the correct one. The easiest way is to just copy the entire string and paste it into a notepad and check if you have duplicate JAVA_HOME variables. Hope this information helps.

Thanks,

Yep. Also, there are SYSTEM and USER environment variables that can have the same name so check for both. Next, make sure there an executable in the C:\Program Files\Java\jdk1.7.0_67 folder named jre.

Darren Hoyne
Darren Hoyne
2,384 Points

Hi gents, That was totally correct Samy just to download the redistrutable, thanks very much :) Take care