title: Java Virtual Machine Launcher Error: Invalid or Corrupt Jar file
body: <p>I am creating a <strong><em>jar</em></strong> file using netbeans. Then I create <strong><em>exe</em></strong> of this jar file using <a href="http://launch4j.sourceforge.net/" rel="nofollow noreferrer">lanch4j</a>. When I run this <strong><em>exe</em></strong> file on my computer it's run fine But When I run this <strong><em>exe</em></strong> on some other computer it gives me warning</p>
  
  <p><strong>The publisher could not be verified. Are you want to run this software</strong></p>
  
  <p>When click on Run the exe file runs fine.</p>
  
  <p><a href="https://i.stack.imgur.com/rwE7T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rwE7T.png" alt="enter image description here"></a></p>
  
  <p>I remove that warning by adding certificate to my exe file using <strong>signtool.exe</strong> which comes with <strong>windows sdk</strong>. and it successfully added certificate to my <strong>exe file</strong>.</p>
  
  <p>But now when I run my exe file it gives me error</p>
  
  <p>"<strong><em>Java Virtual Machine Launcher 
  Error: Invalid or Corrupt Jar file</em></strong>"</p>
  
  <p><a href="https://i.stack.imgur.com/t40Er.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t40Er.png" alt="enter image description here"></a></p>
  
  <p>Plz Help me.</p>
  
  <p>Thanks.</p>