Netbeans would not find compatible jdk while installation

Netbeans would not find compatible jdk while installation while JDKs are located at C:Java and the files are:

  • jdk-8u73-windows-i586
  • jdk-8u73-windows-x64
  • jdk-8u141-windows-i586

From NetBeans Installation Instructions

The default location in Windows is C:/Program Files/Java/jdk1.7.0_10 or similar.

If your JDK is at C:/Java you just have to:

  • re-install the JDK under the default Netbeans location, or
  • specify your custom location during the installation wizard