Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
216,135 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.