How to make create a dependency between a Jar and a project using only commandline?
<p>I made two projects P1 and P2 in eclipse IDE. P2 depends on P1. I did not create any dependency between P1 and P2. I want to convert P1 to Jar and then make P2 use that Jar.</p>

<p>How do I do this using the commandline ? Is there a commandline inside eclipse which I could use ? If not, I will use the good old commandline.</p>

<p><strong>EDIT -</strong> both p1 and p2 have a main method. </p>
