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

Java

Decipher Compiler Errors

Is there a way to learn what the different compiler errors mean?

When I'm working on the code challenges I frequently get compiler errors, and I'm not certain what they mean. I will try changing the code, and eventually will pass, but I'm unable to see the final state of the passing code, so I'm not able to learn what to do to correct it in the future.

Thanks!

1 Answer

I believe you'll be able to decipher compiler errors as you gain more experience. After seeing a specific error multiple times you somehow can tell why you got it sometimes. I suggest you read things like... Common Problems (and Their Solutions). That will help you understand some of the common compiler errors you might get. Searching for the error in search engines helps a lot too especially when you have never seen that error before.