Monday, January 21, 2013

Java - Error Encountered - java.lang.NoClassDefFoundError

JDK: External version 6, Internal version 1.6.0 update 25


Executing class file

Command:
java Shirtest

Exception in thread "main" java.lang.NoClassDefFoundError: ShirtTest

Resolution:
CLASSPATH variable is not set for current directory. Please append “.;” at the end of user CLASSPATH variable.

No comments:

Post a Comment