title: jar and classpath wildcards
body: <p>I want to have multiple classpath directories specified for a standalone java application under Win 7 with java 7 both 64bit.</p>
  
  <p>The directory structure should be as follows</p>
  
  <pre><code>-app
  |-lib
  |-dynamicLib
  |app.jar
  </code></pre>
  
  <p>the lib folder contains dependecies that are referenced directly in the manifest. everything in <code>dynamicLib</code> should be loaded as well.</p>
  
  <p>I tried the following:</p>
  
  <p>adding <code>dynamicLib\*</code> to the manifests classpath</p>
  
  <p>adding <code>dynamicLib</code> to the commandline like this</p>
  
  <pre><code>java -cp "dynamicLib\*";app.jar my.mainclass 
  </code></pre>
  
  <p>the latter with and without quotes, absolute and relative paths, invertes slash etc. But both did not work.</p>
  
  <p>So, how do you add a wildcard directory to an existing classpath when executing a jar?</p>