title: Java Classpath Issue
body: <p>I have two classes:</p>
  
  <blockquote>
    <p>MyApplication<br /> Library</p>
  </blockquote>
  
  <p>The Library has already been compiled into Library.class and the source code is no longer available. I am now trying to compile MyApplication from source. MyApplication depends on the Library. The Library has a package name of org.myCompany. I tried setting my classpath to the following:</p>
  
  <pre><code>set CLASSPATH=C:\java\project\org\myCompany\Library.class;.
  </code></pre>
  
  <p>which produced the following javac compiler error message:</p>
  
  <pre><code>MyApplication.java:33: cannot find symbol
  symbol: class Library
  location: class MyApplication
            Library theLibrary = new Library();
  </code></pre>
  
  <p>So I changed my classpath to be:</p>
  
  <pre><code>set CLASSPATH=C:\java\project\;.
  </code></pre>
  
  <p>which produced the exact same error message.</p>
  
  <p>How do I set my Windows classpath to include the Library.class file? Should it point at the folder contains the org\myCompany subfolders? Or point directly to the class file? Or to the folder containing the class file (even though the class is in a package and belongs in a subfolder)?</p>
  
  <p>I do an echo %CLASSPATH% after my set command and the classpath is being set correctly. I also made an ant build.xml file and encountered the same problem. In fact, ant -verbose confirmed that my classpath is being set correctly.</p>