This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to check the version number of a compiled bytecode class file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to check the version number of a compiled bytecode class file?" Watch "How to check the version number of a compiled bytecode class file?" New topic
Author

How to check the version number of a compiled bytecode class file?

Jon Lee
Ranch Hand

Joined: Mar 04, 2005
Posts: 134
As we know:
Java 1.4 creates class files labeled with version 48.0
Java 1.5 creates class files labeled with version 49.0

Is there a way or tool to inspect the version number of a compiled bytecode class file? Thnx


SCJP 5.0 - 98% (2007)<br />SCWCD 1.4 - 97% (2007)
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to check the version number of a compiled bytecode class file?
 
It's not a secret anymore!