title: Jenkins, specifying JAVA_HOME
body: <p>I installed openjdk-6-jdk on my ubuntu box using apt-get.</p>
  
  <p>In system info jenkins is telling me Java.Home is <code>/usr/lib/jvm/java-6-openjdk/jre</code></p>
  
  <p>However when I specify that directory as <code>JAVA_HOME</code> in Jenkins : "configure system", it returns error message saying that directory does not look like a jdk directory.</p>
  
  <p>it is also failing to pick up my maven install.</p>
  
  <p>Am I missing something obvious ?</p>