How to retrive the JDK version that was used for a class compilation

Background
We usually have some
How to?
Use the following command to get the compile information of the class.
javap -verbose [the class path]
You will get the version information like the…
Source: Codementor