title: how to check the jdk version used to compile a .class file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/27065/tool-to-read-and-display-java-class-versions">Tool to read and display Java .class versions</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to debug a </p>
  
  <blockquote>
    <p>"Bad version number in .class file' </p>
  </blockquote>
  
  <p>error in java, is there a way for me to check which version the <code>.class</code> files are?</p>
  
  <p>I'm using <code>JRE1.5.0_6</code>, but my <code>JDK</code> is version 1.6.0_13.</p>
  
  <p>I'm compiling with compatibility mode set to 1.5 in eclipse which I thought would work...</p>