title: What is the difference between openjdk-7-jre-headless and openjdk-7-jre(jdk)?
body: <p>When I type for <strong>java -version</strong> in command prompt in ubuntu I get following output </p>
  
  <pre><code>The program 'java' can be found in the following packages:
   * default-jre
   * gcj-4.8-jre-headless
   * openjdk-7-jre-headless
   * gcj-4.6-jre-headless
   * openjdk-6-jre-headless
  Try: apt-get install &lt;selected package&gt;
  </code></pre>
  
  <p>I get above output as I do not have java install. I want to know difference between <strong>openjdk-7-jre-headless</strong> and <strong>openjdk-7-jre</strong></p>