How-to articles, tricks, and solutions about UNSUPPORTED-CLASS-VERSION

How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version

The java.lang.UnsupportedClassVersionError error is usually caused by trying to run a Java class that was compiled with a newer version of the Java compiler than the version of the JRE (Java Runtime Environment) that you are using.