title: Javac does not recognize classes that are in the same directory
body: <p>I am trying to compile my Java program which relies on external libraries. The program compiles without errors in the IDE.  Upon compiling in a terminal, I am faced with the compiler not recognizing the code that I have written. <strong>All files are in the same directory.</strong> I am using a Makefile.</p>
  
  <p>The following is the javac call and the resulting errors that arise. All Java and Jar files are in the current directory.</p>
  
  <pre><code>    $ javac -cp "./*" Driver.java
      Driver.java:22: error: cannot find symbol
              DataSetProcessor processor = new DataSetProcessor();
              ^
        symbol:   class DataSetProcessor
        location: class Driver
      Driver.java:22: error: cannot find symbol
              DataSetProcessor processor = new DataSetProcessor();
                                               ^
        symbol:   class DataSetProcessor
        location: class Driver
      Driver.java:29: error: cannot find symbol
      HashMap&lt;Integer, Dealer&gt; map = processor.getDealerVehicleRelationship(dataSetID, vehicleIDsList);
                       ^
        symbol:   class Dealer
        location: class Driver
      3 errors
  </code></pre>
  
  <p>Dealer.java &amp; DataSetProcessor.java are in the current directory.</p>
  
  <p>Can someone please explain to be what my problem is? I can't understand it.</p>