title: jar: command not found in Bash
body: <p>I created one jar file in following location: <strong>'/usr/local/bin/niidle.jar'</strong></p>
  
  <p>But when I type command as follows:</p>
  
  <pre><code>jar tf /usr/local/bin/niidle.jar
  </code></pre>
  
  <p>then it shows the following error:</p>
  
  <pre><code>--The program 'jar' can be found in the following packages:
   * java-gcj-compat-headless
   * gcj-4.2
   * sun-java5-jdk
   * kaffe
   * gcj-4.3
   * cacao-oj6-jdk
   * openjdk-6-jdk
   * fastjar
   * sun-java6-jdk
  Try: apt-get install &lt;selected package&gt;
  bash: jar: command not found
  </code></pre>
  
  <p>Do you have a solution for this?</p>