I can now compile the program. but when I try to run the program by typing java classname say java Add .It throws me an exception message "Exception in thread "main" java.lang.NoClassDefFoundError:Add". why am i getting this message ?what should I do?
We try to keep these forums as neat as possible, so people can find what they need without going down too many dead ends, and people who are trying to help don't waste their time answering questions that have already been answered under a duplicate post.
If you're starting a new topic, that's great. If you're continuing a previous topic, then please keep it in the same thread. (Don't do both.)
With that in mind, please continue this discussion here.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org