title: The JDK is missing and is required to run some NetBeans modules
body: <p>Complete error message:
  The JDK is missing and is required to run some NetBeans modules 
  Please use the --jdkhome command line option to specify a JDK installation or see <a href="http://wiki.netbeans.org/FaqRunningOnJre">http://wiki.netbeans.org/FaqRunningOnJre</a> for more information.</p>
  
  <p>Some details: I just installed Netbeans on Linux mint for the first time and when I start it when its turning on modules this error message appears. But I do have jdk installed. </p>
  
  <p>$ java -version   </p>
  
  <pre><code>java version "1.8.0_66"
  Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
  Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
  </code></pre>
  
  <p>$ javac -version</p>
  
  <pre><code>javac 1.8.0_66
  </code></pre>