My code compiles fine in Command Prompt but when I run it using
java:
Exception in
thread "main" java.lang.NoClassDefFoundError: book\Goo (wrong name: blah blah blah...
Yet I do the same in TextPad and it compiles and runs perfectly. What's the deal with that. The Classpath, to my understanding, was set correctly so I do understand.
Please help,
Thanks.