title: Find out Scala Version Used to Make JAR
body: <p>I'm trying to figure out which Scala version was used to compile <code>A.jar</code>. I have two versions: one from my ivy2 repo, and the other from Maven.</p>
  
  <p>After running <code>jar -xf A.jar</code>, I grepped for <code>scala</code> and <code>version</code>, but found nothing:</p>
  
  <pre><code>$grep -ri scala *
  $grep -ri version *
  </code></pre>
  
  <p>So, based on an unzipped* <code>JAR</code>, how can I determine which version of Scala was used to compile it?</p>
  
  <p>*unzipped = run <code>java xf &lt;name of jar&gt;</code></p>