title: How can I make jar in linux?
body: <p><br/>
  how can I make jar for my java files in linux?
  I have this situation:
  I have in directory src this stuff:</p>
  
  <pre><code>   Client.java  //source code
      GUI.java    // source code
      miglayout-lib.jar //external lib 
      icons // folder in which are 20 jpeg pictures
  </code></pre>
  
  <p>when I want to compile it I use </p>
  
  <blockquote>
    <p><code>javac -cp "miglayout-lib.jar:." *.java</code></p>
  </blockquote>
  
  <p>when I want to run it I use </p>
  
  <blockquote>
    <p><code>java -cp "miglayout.jar:." Klient</code></p>
  </blockquote>
  
  <p>//cause Klient is class with main. <br/>
  <strong>How can I make some build file or script (something like make) which will make me one jar file with my application and I'will be able to run it?</strong></p>
  
  <p>Thx.</p>