title: Exclude class or package inside classpath when starting an application
body: <p>I have multiple <code>*.jar</code> files inside a folder, that are all included in the classpath in order to start the specified main class in Microsoft Windows OS.  This is currently accomplished like this:  </p>
  
  <pre><code>@echo off
  java -Xmx1024M -cp libs/*;. org.test.Main
  </code></pre>
  
  <p>Now I have the problem, that inside the <code>libs</code> folder there are two JAR files, that both have one same package <code>org.test.configuration</code>.  Both are different and when I now start the program, I get errors because the wrong one is selected by the Java VM.  </p>
  
  <p>How can I exclude one special Package or one special Class within my start script?  (Of course I could delete this package out of the wrong jar, but I do not want to use this method...)  </p>