title: glassfish in eclipse doesn't seem to see my JDK
body: <p>I am trying to get glassfish working in eclipse, and running into the JRE vs JDK error: </p>
  
  <blockquote>
    <p>GlassFish v3 requires a JDK 1.6 and not a JRE. Please add/select the
    correct JDK in the Server properties 'Runtime Environment' section.</p>
  </blockquote>
  
  <p>I googled around and it seems a bunch of people had this issue. Sure enough in preferences->Server-> Runtime Environment when I clicked edit on the glassfish server runtime environment the JRE was "default JRE". I clicked the dropdown menu and switched it to my JDK: java-6-openjdk and figured I had the problem solved. Unfortunately, I am still getting the exact same error. This leaves me at a loss on how to google the issue since everyone else seems to have resolved it by just switching the JRE to a JDK. Does anyone have any thoughts?</p>
  
  <p>Avtar</p>