title: Compiling Java package throws errors for external Jars
body: <p>Pretty basic problem here.  So I have a Java package that I have created that has three classes (one has the main method).  I am trying to use a few Apache Jars, and have added these to my build path in Eclipse.  However Eclipse wont let me build and run it properly, so I am trying the command line.  I have added the env var CLASSPATH and pointed it to my lib directory which hold the Apache Jars.  However, when I try to use javac I get a bunch of errors:</p>
  
  <pre><code>package org.apache.xmlrpc does not exist
  import org.apache.xmlrpc.client.XmlRpcClient;
  </code></pre>
  
  <p>I was reading the man page for javac and it said that:</p>
  
  <pre><code> If neither CLASSPATH, -cp nor -classpath is specified, the user class path consists of the current directory.
  </code></pre>
  
  <p>So I tried copying the Jars to the same location as my three source files, but no change.</p>
  
  <p>Can someone please tell me what I'm doing wrong?</p>
  
  <p>Thanks.</p>