How to find the compiler version from a class file?

There is a tool called javap to find out the compiler version and much more from a class file. See the below given console output to get more details. javap is located in %JAVA_HOME%/bin.

One thought on “How to find the compiler version from a class file?

Leave a comment

Your email address will not be published. Required fields are marked *