Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can you determine the Java Version used to compile a class file?

807591Apr 15 2008 — edited Apr 15 2008
Is it possible (and if so, how) to determine the version of Java used to compile a class file?

I've recently had to install both JDK 1.5 and JDK 1.4 on my system, and although I've got my paths set, etc.
I'd like to check my class files after compiling so I can rest assured that they were compiled with the appropriate version.
Can this be done? How?
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2008
Added on Apr 15 2008
8 comments
797 views