I'm working on a project for my java programming class and I've almost got it finished but whenever i try to run the program after compiling I get this error:
The cs1 mentined is a .jar file and Keyboard is a special clas create for the textbook I'm using. I'm trying to figure it out but its Friday evening and my professor has gone home by now and this project is due in by midnight tonight.
The project (in case you need to know) is to write a program that calculates the change you would get back from a $20 bill and sorts it by denomination. I'll post the code for the project if that is needed as well. I just want to know what this error is and how to fix it.
[This message was edited by superspork on February 22, 2002 at 18:10.]
Enter the purchase amount [0.01...20.00] : Exception in thread "main" java.lang.
NoClassDefFoundError: cs1/Keyboard
at project2.main(project2.java:29)
The cs1 mentined is a .jar file and Keyboard is a special clas create for the textbook I'm using. I'm trying to figure it out but its Friday evening and my professor has gone home by now and this project is due in by midnight tonight.
The project (in case you need to know) is to write a program that calculates the change you would get back from a $20 bill and sorts it by denomination. I'll post the code for the project if that is needed as well. I just want to know what this error is and how to fix it.
[This message was edited by superspork on February 22, 2002 at 18:10.]