title: NetBeans installer Not locating Java properly
body: <p>I'm trying to install the NetBeans "all" package, and, I'm pretty sure I already have Java SE Development Kit installed, however, it's not locating it properly, it comes with an error.</p>
  
  <pre><code>Java SE Development Kit (JDK) was not found on this computer
  </code></pre>
  
  <p>So I ran the CMD and typed:</p>
  
  <pre><code>netbeans-7.1.3-windows.exe --javahome "C:\Program Files\Java\jdk1.7.0_25"
  </code></pre>
  
  <p>As I checked, I was in the right directory (E:\Mark\Downloads) where the setup file of netbeans is supposed to be. After pressing ENTER, it did locate JDK, however it would not locate JRE and came up with this error.</p>
  
  <pre><code>Java Runtime Environment (JRE) was not found
  There is no JRE at the specified location C:\Program Files\Java\jdk1.7.0_25
  </code></pre>
  
  <p>So I tried installing the JDK+NetBeans Bundle by Oracle [x86 (32-bit) for Windows (I'm running a 32-bit Windows XP SP3 so it should have worked)] but it says that it's not compatible with my current platform. I also tried --jdkhome but it didn't seem to work at all. Please, this has been going on for two days.</p>