title: Why doesn't the Java compiler download imported packages?
body: <p>I'm trying to run a Lucene Java application on my local machine. I get this compilation error:</p>
  
  <pre><code>package org.apache.commons.digester does not exist
  </code></pre>
  
  <p>because of </p>
  
  <pre><code>import org.apache.commons.digester.Digester;
  </code></pre>
  
  <p>Isn't the compiler downloading the package from the Internet?
  If not, what should I do?</p>