Did you read the API for this error? UnsupportedClassVersionError (Java Platform SE 6)
Should be fairly explanatory...but if not it seems you are trying to run the class with a version of the JVM that is not compatible with the major/minor version the class is compiled with. Best bet is that its major/minor version is 1.6, but you are attempting to run with 1.5