• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A mystery...

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This will be my last question... well I hope it will be! I have a two programs, Tax and TaxReturn. When pulling them off my desktop and into JGrasp the programs compile and work perfectly. I then moved them into my JGrasp bin. Now they no longer compile telling me it has a problem with "ConsoleReader". When placing the programs on a floppy, and opening them in JGrasp from my A drive, I get the same message about the "ConsoleReader". What in tarnation is happening?
Dawn
 
Dawn Allestad
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's the programs and the error message I keep getting:

Here's the error message:
symbol : class ConsoleReader
location: class Tax
{ ConsoleReader console = new ConsoleReader (System.in);

symbol : class ConsoleReader
location: class Tax
{ ConsoleReader console = new ConsoleReader (System.in);
I bolded where it is the pointer is pointed at and it says it cannot resolve symbol.

^
[ edited to to format code and to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ August 31, 2003: Message edited by: Dirk Schreckmann ]
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is JGrasp?
Where is ConsoleReader?
The problem is that the Java compiler cannot find the ConsoleReader class. It needs to be locatable through the CLASSPATH setting. So, you may need to find ConsoleReader and anything that it uses, and add them to your CLASSPATH when compiling and running this application.
 
Dawn Allestad
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yep... I got it to work! I just had to stop and think about it!
JGrasp is the compiler, builder thingy I use! LOL
Dawn
reply
    Bookmark Topic Watch Topic
  • New Topic