Re: Cannot resolve symbol class Scanner
- From: "Roy Gourgi" <royng@xxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 16:32:05 -0400
Hi,
Yes I am able to compile the HelloWorld but I am still getting those error
messages that it cannot resolve both the Scanner and InputMismatchException.
Could it be that I do not have the java APIs???
Where is the the java.util API class located anyways?
Thanks
Roy
"Oliver Wong" <owong@xxxxxxxxxxxxxx> wrote in message
news:_BzSg.34666$bf5.2438@xxxxxxxxxxx
"Roy Gourgi" <royng@xxxxxxxxxxxx> wrote in message
news:urzSg.100429$LH3.994898@xxxxxxxxxxxxxxxxxxxxxx
Hi,[code snipped]
I am trying to compile this program but I get the error message that it
cannot resolve this symbol Scanner. I downloaded the JDK6 and in my PATH
statement I put C:\Program Files\Java\jdk1.6.0\bin. The code is below.
What am I doing wrong.
TIA
Roy
Your code compiles fine on my side (except you forgot to import
InputMismatchException). Are you sure your environment is set up properly?
Are you able to compile and run a simple Hello World example?
- Oliver
.
- References:
- Cannot resolve symbol class Scanner
- From: Roy Gourgi
- Re: Cannot resolve symbol class Scanner
- From: Oliver Wong
- Cannot resolve symbol class Scanner
- Prev by Date: A "How would you do this"-type of question. not Java-specific.
- Next by Date: Re: Cannot resolve symbol class Scanner
- Previous by thread: Re: Cannot resolve symbol class Scanner
- Next by thread: Re: Cannot resolve symbol class Scanner
- Index(es):
Relevant Pages
|