I use NetBeans as the IDE both in Linux and Windows environment. I like this NetBeans IDE very much. In my Windows PC Java Runtime Environment was updated recently. I am getting following error message when I start NetBeans.
“Cannot find java.exe in specified jdkhome.”
1. Open NetBeans configuration file from NetBeans installation directory. (i.e. C:\Program Files\NetBeans 6.5\etc\netbeans.conf)
2. Set the configuration netbeans_jdkhome to the path of latest Java installed in your PC. (i.e. C:\Program Files\Java\jer1.6.6)
And you are done.