Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine a .class file JAVA version?

Status
Not open for further replies.

milton747

Programmer
Joined
Apr 21, 2005
Messages
133
Location
US
I was sent a .class file I have to use in a program.
Is there a way to determine the JDK it was compiled with?

ie: 1.4 vs.1.5 vs 1.6?

Thanks
 
I imagine a decompiler like jad will do the job, but according to the specification you'll find it in the 6th byte.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top