I'm trying to write a little Java application, but I keep getting the following error:
Tried setting the $CLASSPATH env but it doesn't seem to help at all. Probably a simple solution, but this is the first program I've written on my own since venturing over from C++.
code:<HR>Code:C:\Java\Code\learn>java TestJava.class Exception in thread "main" java.lang.NoClassDefFoundError: TestJava/class
Tried setting the $CLASSPATH env but it doesn't seem to help at all. Probably a simple solution, but this is the first program I've written on my own since venturing over from C++.