title: Java : create jar executable with dependant jars embedded
body: <p>I have created an executable JAR with the manifest:</p>
  
  <pre><code>Manifest-Version: 1.0
  Main-Class: MyClass
  Class-Path: lib/ext.jar
  </code></pre>
  
  <p>I can successfully run this JAR if I have folder <strong>lib</strong> with dependent <strong>ext.jar</strong> in the folder of .jar created.</p>
  
  <p>I would like to embed <strong>ext.jar</strong> in my executable JAR to launch it anywhere I want, without creating lib folder. This would allow the JAR file to be self-contained, including all of its dependencies.</p>
  
  <p>Is there any way to do this?</p>