title: Jars on the java CLASSPATH environment variable are ignored
body: <p>In my ~/.bashrc I export my java CLASSPATH the following way:</p>
  
  <pre><code>CLASSPATH=$CLASSPATH:/home/user/java/libs/apache-ant-1.9.0/lib/*:/home/user/java/MyProject/libs/*
  </code></pre>
  
  <p>The folder "/home/user/java/MyProject/libs/" contains the following jars:</p>
  
  <pre><code>colt.jar    mysql-connector-java-5.1.22-bin.jar
  concurrent.jar  postgresql-8.4-703.jdbc4.jar
  </code></pre>
  
  <p>When I try to compile a class of my project that imports parts the colt.jar, I get an error message:</p>
  
  <pre><code>/src$ javac visualization/VisualizeCorrelationMatrix.java 
  visualization/VisualizeCorrelationMatrix.java:16: cannot access cern.colt.matrix.impl.SparseDoubleMatrix2D
  class file for cern.colt.matrix.impl.SparseDoubleMatrix2D not found
          int N = cm.columns();
                    ^
  </code></pre>
  
  <p>But when compling it the followin way it works without errors:</p>
  
  <pre><code>/src$ javac -cp ".:/home/user/java/MyProject/libs/*" visualization/VisualizeCorrelationMatrix.java
  </code></pre>
  
  <p>I checked that the paths in the CLASSPATH variable and the manuel optino -cp are 100% identical. Also an echo $CLASSPATH returns the correct path.</p>
  
  <p>Why do I still get this error?</p>