java.util.Scanner

Using the Java SDK with TextPad

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
kong0113
Posts: 2
Joined: Thu May 20, 2010 5:05 pm

java.util.Scanner

Post by kong0113 »

Why do I keep on getting "cannot resolve symbol class Scanner" even though I have import java.util.Scanner; at the top of the file? Please help
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

because there is no class java.util.Scanner in the class path.
kong0113
Posts: 2
Joined: Thu May 20, 2010 5:05 pm

regarding java.util.Scanner

Post by kong0113 »

I downloaded java JDK, then I reintalled TextPad. The program works. I didn't set the class path yet. Why?
User avatar
TyBontage
Posts: 1
Joined: Wed Feb 15, 2012 3:37 am
Location: United States

java util Scanner

Post by TyBontage »

The java.util sources and of all the classes they are in
the file src.zip, which this in the folder where you installed the
JDK.
you can use java.util.Vector and java.util.HashTable...
Post Reply