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

Morten Henriksen
Morten Henriksen
5,443 Points

java: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.

HelloWorld.java
public class HelloWorld {
  public static void main(String[] args) {

    System.out.println("Hello YOUR NAME");

  }
}

2 Answers

Steven Parker
Steven Parker
229,786 Points

Your 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
Morten Henriksen
5,443 Points

It worked Steven, thanks!

Nothing like a good old reboot, or I just had to dust off the crums of cookies.