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 trialMorten Henriksen
5,443 Pointsjava:69: error: illegal start of expression Is the javaTester out of date? Why doesn't it allow me to compile.
The test is about writing -> Hello YOUR NAME <-. There shouldn't be any other "things" to correct or write, yet it won't compile.
I tried to google for some help, and most of the solutions were a missing bracket or semicolon, but that shouldn't be the case, when the test isn't about that.
Thanks for the help.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello YOUR NAME");
}
}
2 Answers
Steven Parker
231,198 PointsYour code seems fine, give it another try. If you still get an error try restarting your browser. If that doesn't do it, you might want to contact the Support staff.
Morten Henriksen
5,443 PointsIt worked Steven, thanks!
Nothing like a good old reboot, or I just had to dust off the crums of cookies.