• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A mystery...

 
Dawn Allestad
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic