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 development "eclipse" program error message

so I am trying to do Android Development, which requires the "eclipse" program, however when I download it, run the initial startup, then try to run the program, it gives me an error message saying "Java was started but returned exit code=13"

Any suggestions on what I did wrong?

5 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

This appears to be a problem with the version of Java you have installed on your computer. (Or maybe it's missing!) Here's a StackOverflow question that contains good troubleshooting information:

http://stackoverflow.com/questions/11461607/cant-start-eclipse-java-was-started-but-returned-exit-code-13

It sounds like you aren't using one of the bundles available from Treehouse or the Android Developer site. If you are trying to get Eclipse to work by yourself you certainly can, but it's really easy to download one of the bundles. The Treehouse bundle is linked in the first stage of the Build a Crystal Ball App project, and the Android Developer bundle is at http://developer.android.com/sdk

I am still confused, I checked my java version, and I have the latest version, It is also the 64-bit version (for my 64-bit computer). I also did download the developer bundle from treehouse. if part of the error code says:

-ox win32 -ws win32 -arch x86_64

does that help at all? If the location might be a problem, my path for the eclipse program is

C:\Users\Aaron\Documents\Aaron's STUFF!!\Programming\Android Development\android_dev_environment\eclipse

and then the eclipse program is in the eclipse folder.

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

The Aaron's STUFF!! folder is definitely a possible culprit. Eclipse is picky about characters in file paths, and the apostrophe and exclamation points probably aren't making it happy! Try moving it to something like C:\Users\Aaron\android_dev_environment\eclipse and see if that helps. If not, then we can troubleshoot further.

Oh, Beautiful, It worked. I knew I shouldn't have let my sister name my folders... oh well, thank you very much. I wouldn't have figured it out otherwise.

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Excellent! I don't think my sister even knows how to name folders. :confused: