title: How do I verify the order of MANIFEST.MF within jar?
body: <p>I've run into interesting problem which is absolutely new to me. As I've suddenly discovered, Jar specification says that, being included, <code>META-INF</code> and <code>MANIFEST.MF</code> must be first and second entries of <code>*.jar</code> package and not just directory and file within archive.</p>
  
  <p>I'm working with Java framework being very watchful about this requirement and not as much verbose. How do I check that <code>META-INF</code> and <code>MANIFEST.MF</code> are properly ordered within jar?</p>
  
  <p><strong>UPDATE:</strong>
  Many of jars are third-party, and there are many of them. I'm not able to open these jars in notepad, excel, hexeditor, photoshop or whatever looking for byte sequences. I need command-line tool. Thanks!</p>
  
  <p><strong>UPDATE 2:</strong>
  Here is the reason why I'm asking this question: 
  <a href="http://www.mail-archive.com/dev@felix.apache.org/msg17097.html" rel="noreferrer">http://www.mail-archive.com/dev@felix.apache.org/msg17097.html</a></p>