Jan 4, 2018
solution:
java.lang.UnsupportedClassVersionError
happens because of a higher JDK during compile time and lower JDK during runtime. The version number shown describes the version of the JRE the class file is compatible with.
The reported major numbers are:
To fix the actual problem you should try to either run the Java code with a newer version of Java JRE or specify the target parameter to the Java compiler to instruct the compiler to create code compatible with earlier Java versions.
Last updated
Was this helpful?