title: javac classpath option with multiple jar files in current directory causing error
body: <p>Environment: Windows 7, Java 6.</p>
  
  <p>Trying to compile a .java file with -cp option. The file uses a single jar file that's in the current directory ALONG WITH some other jar files in the current directory.</p>
  
  <pre><code>javac -cp ./*.jar MyFile.java
  </code></pre>
  
  <p>doesn't work.</p>
  
  <pre><code>javac -cp ./* MyFile.java 
  </code></pre>
  
  <p>doesn't work</p>
  
  <pre><code>javac -cp ./MyJar.jar MyFile.java
  </code></pre>
  
  <p>works</p>
  
  <p>First two cases, I get a invalid flag error. Can someone explain this behavior? </p>
  
  <p>And I checked if it is spaces issue, there are no spaces anywhere in my full file paths.</p>