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

what am I doing wrong in my code?

public class HelloWorld { public static void main(String[] args) { // Prints "Hello, World" in the terminal window. System.out.println("Hello, World"); } }

HelloWorld.java
public class HelloWorld {
   public static void main(String[] args) {
      // Prints "Hello, World" in the terminal window.
      System.out.println("Hello, World");
   }
}

2 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Natasha,

I just tried the challenge and I'm getting an illegal start of expression error no matter what code I provide. I believe this is an error on the Treehouse side that they'll need to look into.

I apologize for any inconvenience.

// Joy Kesten Craig Dennis

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Thanks Justin Horner ! This is fixed now...was a problem on our end!

Sorry about that Natasha Quijano