Re: Cannot resolve symbol class Scanner



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,

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

[code snipped]

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


.



Relevant Pages

  • Re: Menu Path solve
    ... manager will resolve all pathing internally at compile time so this is a ... > Taking the "IN LOCFILEportion out of the menu generator allows ... > selection box asking for the MyMENU even though the menu had been ... > - ommitting the LOCFILE part will work and resolve the above problem. ...
    (microsoft.public.fox.programmer.exchange)
  • incantation(s) for using flex-generated code on Windows/Visual C++
    ... The scanner works when compiled and run under Linux. ... Then I compile ... is not divisible by six) report any remaining characters one at a time. ...
    (comp.compilers)
  • Re: Why C++ is so widespread (and Pascal is no fun)
    ... further on before it can resolve a construct. ... As a result, there is a lot more "stacked" during compile, waiting to be resolved. ... I always thought that preprocessor is the only issue that makes the C/C++ build process so slow. ... float F2 ...
    (borland.public.delphi.non-technical)
  • Re: sane-plustek backend does not work
    ... ">it is USB scanner. ... ">after that I compile sane-backend port ... when I attach the scanner I can see: ... " If it does have that line, try a kernel recompile and reinstall again. ...
    (freebsd-questions)
  • Re: C++/TCL Need Solution to Compile Error c2784
    ... jnior_300.h"}" and created other errors where it didn't even compile. ... C4273: 'GetVersion': inconsistent dll linkage ... jnior310tcl2.obj: error LNK2019: unresolved external symbol ... does resolve any function contained in it. ...
    (comp.lang.tcl)