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?
What I have found, the correct way of doing it is: "C:\Program Files (x86)\netbeans-8.0.2-windows.exe" --javahome "C:\Program Files(x86)\Java\jdk1.7.0_51"
Note: run this link in the command prompt