packaging external jars into a jar from command line
<p>I want to package my external jars (that are in lib/) and the jar that I am building of the class files all into one jar. Ive tried to do it as: </p>

<pre><code>jar cvf proj.jar -C classes/ . lib/
</code></pre>

<p>The jar gets built up but when I use this jar in the program, the external jars supposed to be included as lib/ end up missing. So I think this is perhaps not the right way to do this.</p>

<p>I have tried exporting a jar through eclipse too (though I would like to fix the command line stuff) by giving it the location of external jars and I still had the problem of the program unable to locate the external jars.</p>
