How to check the JDK version of a class file

  • 17 March 2020
  • ADM

When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.

You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.