A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Problem w/ Scanner class
Joined: Oct 07, 2005
Oct 07, 2005 11:52:00
every time I try to load the Scanner class in eclipse or DrJava I get a message saying "Scanner cannot be resolved to a type" How do i fix this or what am i doing wrong?
[ October 07, 2005: Message edited by: Cameron MacKenzie ]
Joined: Aug 31, 2004
Oct 07, 2005 12:42:00
Are you importing java.util.*?
If so, is Eclipse set to compile using Java 1.5? (There are preference settings for this.)
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
I agree. Here's the link:
subject: Problem w/ Scanner class
Scanner Class Doubt
I'm lost, need help figuring what todo?
Putting numbers into array
Symbol can't be found
Object in a file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014