title: Unable to add multiple jars when specifying classpath *.jar in linux
body: <p>I'm having some problems specifying multiple.jar files when i compile my project. I'm almost certain that:</p>
  
  <pre><code>sudo javac -classpath .:../lib/*.jar server/*.java models/*.java authentication/*.java database/*.java
  </code></pre>
  
  <p>would work. Just as with the .java files. But it doesn't.</p>
  
  <p>I just now realised that i have to specify each .jar as following:</p>
  
  <pre><code>sudo javac -classpath .:../lib/gson-2.2.4.jar:../lib/mysql-connector-java-5.1.26-bin.jar server/*.java models/*.java authentication/*.java database/*.java
  </code></pre>
  
  <p>So, do I really have to add a new .jar to my run.sh shell code each time i need a new .jar?</p>
  
  <p>To sum the question:</p>
  
  <pre><code>-classpath .:../lib/gson-2.2.4.jar:../lib/mysql-connector-java-5.1.26-bin.jar
  </code></pre>
  
  <p>works.</p>
  
  <pre><code>-classpath .:../lib/*.jar
  </code></pre>
  
  <p>Does not, why? </p>