Reputation: 37034
I have class file. It is a result of compilation. Can I know the compiler version which was used for creation of this file?
As a result I want to know something like java 1.6.0_45
Upvotes: 0
Views: 100
Reputation: 681
Yes, that information is part of class file. More information here.
Edit: I stand corrected. The compiler version is not part of the class file. I confused major and minor versions with compiler version. Still keeping the link since it provides useful information pertaining to the question.
Upvotes: -1