Wednesday, 25 January 2017

Java Version Mismatch Exception

java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0

The error regarding the unsupported major.minor version is because during compile time you are using a higher JDK and a lower JDK during runtime.
Thus, the 'major.minor version 52.0' error is possibly because the jar is compiled in jdk 1.8, but you are trying to run it in jdk 1.7 environment.

No comments:

Post a Comment