If you have a class file at build/com/foo/Hello.class
, you can check what java version it is compiled at using the command:
javap -v build/com/foo/Hello.<path to class file> | grep "major"
Example usage:
$ javap -v build/classes/java/main/org/aguibertcom/libertyexample/Book.class | grep major
major version: 57
According to the table in the OP, major version 57 means the class file was compiled to JDK 13 bytecode level