I got the following message when I open the NetBeans. I have got the JDK installed, and set the bin directory in the environment. What I could do next to avoid this problem?
go to cmd and enter the following command:
C:\Users{usernamehere}\Documents\Downloads\netbeans-{version}.exe –-javahome "C:\Program Files (x86)\Java\jdk{version}"
before it make sure you have properly set the environment variable. If it is not works than check compatibility of program or reinstall jdk appropriately and set environment again and do as above command.