Failed to load Main-Class manifest attribute from external library
<p>I am using the postgresql driver to connect to a sql server with java.<br>
It is contained in a jar file that i downloaded form there website.  </p>

<pre><code>java -classpath /home/asdf/myProgram;/home/asdf/myProgram/lib/postgresql-9.2-002.jdbc4.jar myMainClass
</code></pre>

<p>results in an error:
    Failed to load Main-Class manifest attribute from /home/asdf/myProgram/lib/postgresql-9.2-002.jdbc4.jar</p>

<p>the main class is in /home/asdf/myProgram/myMainClas.class</p>

<p>how do i get java to check for that before checking in postgresql-9.2-002.jdbc4.jar</p>
