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

ADT Bundle Download - 64bit

I just finished the Crystal Ball app, and moved on to the Build a Blog Reader Android App project, but can't get past the first step. I downloaded and unzipped the ADT bundle for my computer, but I get an error message. I confirmed that I needed the 64-bit option for Windows 8. Here is the error message:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found

What am I doing wrong?

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi Rico,

Did you use the Treehouse bundle for the Crystal Ball project? That's the big difference between our bundle and the one from the Android developer site. I packaged a Java folder into ours and set it as the default for our bundle, but you have to download and install the Java JDK separately to use the bundle from their site.

You have a couple of options:

  1. Install Java from the Oracle website as per the instructions in this Quick Tip video.

  2. Your first Treehouse bundle has a JDK inside it, so if you go to android_dev_environment\Java\jdk (and there's some version number on the end), you could copy the full path and paste it into your ADT bundle settings for Java. Kind of convoluted!

  3. The easiest solution is probably to download a new version of the Treehouse bundle I just released. This is a repackaging of the bundle from the Android Developer site plus the Java that you need and a script to automatically create an emulator.