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 trialAnthony Bilotti
4,332 PointsCompiling on my mac not working!
Here is my console stuff... /users/bigbenhornet/Desktop/cool.java:1: cannot find symbol symbol : class console location: package java.io import java.io.console; ^ /users/bigbenhornet/Desktop/cool.java:5: cannot find symbol symbol : class Console location: class cool Console console = system.console(); ^ /users/bigbenhornet/Desktop/cool.java:5: cannot find symbol symbol : variable system location: class cool Console console = system.console();
1 Answer
Unsubscribed User
5,729 Pointsrun the same program in the treehouse workspace. while creating the object of console -->
Console console = System.console();
remember S in the word system is Capital S in System
Grigorij Schleifer
10,365 PointsGrigorij Schleifer
10,365 PointsHi Anthony,
are you using an IDE like IntellyJ or Eclipse?
Then Console class is not working properly in IDE ...