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

Java Java Basics Getting Started with Java Introduction to Your Tools

Kyle Scott
Kyle Scott
51 Points

Error. Introductions.java:8: error: reached end of file while parsing console.printf("Hello, my name is Kyle"); ^

Not understanding what is happening here at all, I typed out exactly what Craig had typed.

Kyle Scott
Kyle Scott
51 Points

I made a screenshot so that way it can be seen https://w.trhou.se/kp5ca6bo7c

1 Answer

Rich Zimmerman
Rich Zimmerman
24,063 Points

Line 6

Console.console = System.console();

Should be

Console console = System.console();
Kyle Scott
Kyle Scott
51 Points

Receiving same error after fixing it.

https://w.trhou.se/zfd7cj4ygq

Kyle Scott
Kyle Scott
51 Points

Actually, I'm sorry now it's something new

Introductions.java:3: error: class Introduction is public, should be public class Introduction {

Rich Zimmerman
Rich Zimmerman
24,063 Points

Might be because your file is Introductions.java (Plural Introductions), but your class is Introduction (singular).