title: Unable to load the jar files which are on the classpath
body: <p>I am trying to run my jar file by executing <br/> <code> java -jar myJarFile.jar arg1 </code> <br/>but it throws <code>ClassNotFoundException !</code> for the classfiles which are referred in my class files. FYI, these class files are present in some external jars which i have placed on my classpath by setting the env <code>CLASSPATH</code> variable pointing to the directory where all the external jars are placed. And my MANIFEST.MF would look like <br /> <code> 
  Manifest-Version: 1.0 <br>
  Ant-Version: Apache Ant 1.7.1 <br>
  Created-By: 20.14-b01 (Sun Microsystems Inc.) <br>
  Main-Class: com.abc.test.FileGenerator <br/>
  BuildDate: 01/10/2014 12:52:36 <br/>
  Class-Path: C:\libraries\commons-beanutils-1.8.3.jar C:\libraries\commons-collections.jar <br/>
   C:\libraries\commons-discovery-0.2.jar C:\libraries\commons-lang-2.5.jar <br/>
   C:\libraries\commons-logging-1.1.1.jar C:\libraries\commons-logging-1.0.4.jar  <br/></code> </p>
  
  <p>My main class is available in my jar and I am running from where my jar is getting created by ant script like dist folder. I even changed the absolute path to relative path.. It is still throwing the same error. Here is my jar structure - <code> <br/>
  myFile.jar<br/>
      |- com <br/>
      |   |<br/>
      |   abc<br/>
      |   |<br/>
      |   test<br/>
      |   |-package1<br/>
      |   |-package2<br/>
      |   |-FileGenerator.class<br/>
      |<br/>
      |-META-INF <br>|                                                        |- MANIFEST.MF 
  <br/>
  </code><br>
  Kindly help me on this.
  Thanks in advance!</p>