title: Reference jars outside of a jar
body: <p>I am working on a java application that depends on several jars such as args4j, groovy, jasperreports, etc.</p>
  
  <p>I would like to package just <strong>my code</strong> into a run-able jar while still referencing these external jars, perhaps by piping them into the one with my code somehow. Is there a way that I can do this?</p>
  
  <p>I am fairly new to java, so simpler answers are probably better. Also, I plan to run this application from Windows command-line.</p>
  
  <p><strong>edit:</strong> Just to farther clarify, I have some compile-time dependencies and some run-time dependencies. I want the run-time dependencies to not be packaged into my jar so that the jar size is not so big.</p>
  
  <p><strong>edit 2:</strong> This is not a duplicate. Firstly, I am not using eclipse. Secondly, I am not trying to package external jars within the jar I am creating.  Instead, I would like to keep them outside of the jar I am making and somehow specify to use these external jars when I go to run my jar.</p>