title: how to make jar file from commandline in ubuntu
body: <p>I am kinda stuck. Usually I use the export option in eclipse to create a jar.
  But now, i have deployed my code in production and want to create a jar file.</p>
  
  <p>So I have two files,</p>
  
  <pre><code> foo.java which calls bar.java
  </code></pre>
  
  <p>And then it uses couple of jars </p>
  
  <pre><code>foobar.jar foo_bar.jar
  </code></pre>
  
  <p>Now,so main is in foo.java</p>
  
  <p>How do i create an executable jar.</p>
  
  <p>Thanks,</p>