|
First off, what version of Java are you running? Scanner is a recent addition to Java. Type "java -version" on the command line. If it's before 1.5, it won't include Scanner.
If it's 1.5 or later, post your source code - it's probably a syntax error.
|