title: Difference between openjdk-6-jre, openjdk-6-jre-headless, openjdk-6-jre-lib
body: <p>I am having trouble understanding some of the basics of Java JRE.</p>
  
  <p>I need to run Java code in an embedded system and for this I need a minimal Java Runtime Environment installed in a Linux kernel, that is to say, the minimum package necessary for executing Java binaries. I think it is not possible to do this only with a JVM (the JRE package is necessary, am I wrong here?)</p>
  
  <p>The thing is, when looking at the Debian repositories I don't quite understand the differences between the packages <code>openjdk-6-jre</code>, <code>openjdk-6-jre-headless</code> and <code>openjdk-6-jre-lib</code>. Will Java programs run only with the former? or, are the three of them needed? </p>
  
  <p>This is an issue as there is a big difference in size (MB) between them.</p>