C:\>java C:/Super
Exception in thread "main" java.lang.NoClassDefFoundError: C:/Super C:\>java C:\Super
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Super C:\>java Super
Bad Object!
Game Object!
well, let me ask you this question...
what happens if you typed this in ?
C:\>
java Super.class
you get an error also, right...
it because in my example, i specified a file name, not a class name right ?
but the bigger question is, what does java.exe think you saying ?
it thinks that you have a compiled class called "class" in package "Super"...
so using your example... it looking for a compiled class literally called "c:\Super.class" located in the current directory C:\
but your compiled class is called "Super.class" which resides in C:\
and that why you get the error...
The reason you omit the .class extension is becaused it a given... all class files end with the .class extension, so all you need is the class name...
For further information :
J2SE SDK Tools and Utilities Documentation
http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html Sun's Java Tutorial:Lesson: Solving Common Compiler and Interpreter Problems
http://java.sun.com/docs/books/tutorial/getStarted/problems/index.html Have fun...