title: include external jar when running java -jar
body: <p>From my readings, when you execute a command as follows:</p>
  
  <pre><code>java -jar foo.jar
  </code></pre>
  
  <p>Then the main classpath is ignored, and the classpath is taken from the manifest file. </p>
  
  <p>Further, the classpath declared on the command line is also ignored. So in:</p>
  
  <pre><code>java -classpath /usr/local/jar/foobar.jar -jar foo.jar
  </code></pre>
  
  <p>/usr/local/jar/foobar.jar is ignored.</p>
  
  <p>Lastly, I have read that the manifest file can only contain relative paths, within the jar file.</p>
  
  <p>So, how do you include absolute paths to external jars, that are present on the system, but not in the jar file being executed?</p>