Tool to read and display Java .class versions
If I have a compiled Java class, is there a way to tell from just the cla
You can look at the byte offset 6 and 7 in the file (in a hex dump probably), which tells you which version is used. I think the Bytecode Visualizer (eclipse plugin) can see which version a class file is made for.
Further reading