Came across an issue which involved determining on what version a particular file was compiled. There is one nice utility that comes with JDK, which allows to get this information from class file.
Usage:
javap -verbose
if you want to redirect output to a text file.
javap -verbose TestClass >> output.txt
No comments:
Post a Comment