Hi there, i have a question concerning the jdk version i used to compile and jar my project. is there a way to find out from the jar file with what version the project has been compiled ? the "Created-By:" (example : Created-By: 1.5.0_09-b01 (Sun Microsystems Inc.)) from the manifest file in my jar is the version of my jar tool.
...every .class file you generate contains a version stamp: two unsigned short integers starting at byte offset 4, right after the 0xCAFEBABE magic number. They are the major/minor version numbers of the class format...
By the way, my second reference above is from a JavaWorld article, The Java classfile lifestyle, which (despite being over 10 years old) provides a very interesting and accessible overview of the .class file structure.
A more technical version can be found in the JVM Spec. [ January 23, 2007: Message edited by: marc weber ]