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

Digital Literacy Computer Basics Computer Languages Programming Paradigms - Part 2

Haisam Elkewidy
Haisam Elkewidy
26,987 Points

I mean, it's obvious where I should put the statement in this challenge, but the Editor is giving me an error here.

JavaTester.java:69: error: illegal start of expression public class HelloWorld { ^ 1 error

Not sure why I'm getting this.

1 Answer

Steven Parker
Steven Parker
231,275 Points

You probably haven't done anything wrong. I tried it myself, and there seems to be a problem with the challenge itself.

You can make a bug report following the instructions on the Support page. If you're not familiar with making screenshots, just describing the problem is likely to be enough in this case.

Haisam Elkewidy
Haisam Elkewidy
26,987 Points

After following up with the support team, it turns out I did do something wrong.

Seems like I forgot to put my name in all capital letters. Had I done so, the challenge would have gone through as expected.

Steven Parker
Steven Parker
231,275 Points

I don't think that was it. I just tried putting in "Hello Sailor" and that passed. Then I tried again and put in "hello kitty" (with no caps at all) and that also passed.