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!
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

Derek Seibel
321 PointsCan't seem to operate "Hello World" correctly even after copying the code verbatim.
Hello everyone,
When watching the first video to print "Hello World" for java I can't get the code to compile right. It just says:
treehouse:~/workspace$ javac Introductions.java
Introductions.java:8: error: cannot find symbol
console.prinf("Hello, my name is Derek");
^
symbol: method prinf(String)
location: variable console of type Console
1 error
treehouse
I looked at the example that Craig wrote and it looks like everything is written verbatim. Can someone help me out?
2 Answers

Amber Camus
3,358 PointsYou're really close. There is just a small typo in your code. look over the line console.prinf('Hello, my name is Derek');
again. Do you see it? You are missing the t. Try again with the method printf.

Derek Seibel
321 PointsI found it Thank you so much!

Harry James
14,780 PointsGlad to hear Amber Camus was able to help out here! :)
Go ahead and mark her answer as the Best Answer so that other users know that this question has been solved, and also credit Amber for her answer!
Harry James
14,780 PointsHarry James
14,780 PointsChanged Comment to Answer