java.lang.UnsupportedClassVersionError: Bad version number in .class file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://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 am getting this error, I suspect, because I am running a program on a Java 5 VM whereas one of my dependent classes was built with Java 6.</p>

<p>My question: How to do I easily go through the list of all of the jar and class files in my applications to determine the version number of each class?</p>

<p>There has got to be a utility for doing this.</p>

<p>Thanks,
Peter</p>
