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
Miguel Nunez
1,081 PointsCan't get past the first video
I keep getting errors. Can't get past the first explanation video!
I TYPE IN THIS: console.printf(''Hello, my name is Miguel'');
THEN NEXT TO CONSOLE: javac Introductions.java
I PRESS ENTER AND GET THIS:
Introductions.java:8: error: empty character literal
console.printf(''Hello, my name is Miguel'');
^
Introductions.java:8: error: unclosed character literal
console.printf(''Hello, my name is Miguel'');
^
7 errors
2 Answers
João Ignácio Brito
1,201 PointsTry to type in the console: javac Introductions.java && java Introductions...You have to compile it first then run!
João Ignácio Brito
1,201 PointsYou should use double quotes and not two single quotes!
Miguel Nunez
1,081 PointsMiguel Nunez
1,081 PointsNot working...