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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Dylan Anderton](https://uploads.teamtreehouse.com/production/profile-photos/4503302/micro_me.jpg)
Dylan Anderton
8,163 PointsError: cannot find symbol
Update: derp... simple mistake.
I copied the code from the video but still receive this error. It can't find the period in the console.printf method? Any help for this one?
import java.io.Console;
public class Introductions {
public static void main(String[] args) {
Console console = System.console();
// Welcome to the Introductions program! Your code goes below here
console.prinf("Hello World!");
} }
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
Introductions.java:9: error: cannot find symbol
console.printf("Hello World!");
^
symbol: method prinf(String)
location: variable console of type Console
1 error
2 Answers
![saykin](https://secure.gravatar.com/avatar/976efe02e531dba1efc3f792839de99b?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
saykin
9,835 PointsHi, there is an spelling error in your console.printf line. You're missing the letter 't'.
![Dylan Anderton](https://uploads.teamtreehouse.com/production/profile-photos/4503302/micro_me.jpg)
Dylan Anderton
8,163 PointsThank you for this tip, I will use this in the future!
Dylan Anderton
8,163 PointsDylan Anderton
8,163 PointsWow... Derp. Thank you, ugh. xD
saykin
9,835 Pointssaykin
9,835 PointsHappens to the best of us, in the future, look at the error message, it will save you a lot of headache when it comes to compilation errors.
It says:
The error was at line 9 in file/class Introductions.java and that it couldn't find the symbol on that line, which basically means it can't find the method/variable prinf(String). So either spelling error or you haven't linked some other file/class that has the method/variable.