title: Get jar version in runtime
body: <p>I'm wondering if it is possible to retrieve, in runtime, a version number of a jar from which the class comes from?</p>
  
  <p>I know its possible to find jar from which the class comes from:</p>
  
  <pre><code>MyClass.class.getProtectionDomain().getCodeSource().getLocation().getPath();
  </code></pre>
  
  <p>but what about a version?</p>
  
  <p>(assuming its not in the file name:) )</p>