There's something wrong with my Java SDK. Need help....Everytime I run java programme under command line, I have a "no class definition" error. But inside JCreator, there's no such a problem. I suppose it may have to do with my setting to open a .class file with IE. How to change the opening way of .class file into the original state? Or what is the real reason for this "no class definition" error. Could anyone help me out? Thanks in advance.
Please check your CLASSPATH.
This is one basic setting you need to get J2SE (or even previous versions of it) working. If you are using Win2k/XP, set it in your system configuration, or else, you may choose to set it in the command prompt only. Refer to Sun's FAQ for this.