Re: Cannot resolve symbol class Scanner




"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: Access to remote registry (RegistryPermissionAttribute)
    ... If I use Demand instead of RequestMinimum, my code compiles. ... > The problem seems to be that you're emitting assembly-level declarative ... then you should be able to compile the code. ...
    (microsoft.public.dotnet.security)
  • F77,F90 Namelist input of logical variables
    ... It will compile under Sun Fortran 95 ... The code compiles perfectly on my PC using ... but I have to get it to compile on our SunV40z. ... Does the F90 standard prohibit namelist input of logicals? ...
    (comp.lang.fortran)
  • Re: compiles in g++ and .NET but not on VC6 !!!
    ... > With the minor change above, your code compiles without ... > you can either download it, or have them ship a CD ... > for anominal shipping fee) ... doesn't compile on my computer. ...
    (comp.lang.cpp)
  • Migrating VC6.0 -> Visual Studion 2008 - depricated functions
    ... so I tried to compile an old VC6.0 project ... the code compiles with those "_s" ... VC6.0 and Visual Studio 2008. ... find any header/lib for fopen_s. ...
    (microsoft.public.vc.mfc)
  • Re: confused about null reference compile error
    ... Would it compile, this would throw an exception probably. ... > this code compiles ok: ... > public string AssureAnonUID() ... > Is that because System.Guid is a struct? ...
    (microsoft.public.dotnet.framework.aspnet)