I’ve installed previous versions of jdk1.6.0_17, and then after installing netbeans 7, I upgrade jdk to version jdk1.6.0_25.
Now, everytime I start Netbeans, it always show me this message :
Cannot locate java installation in specified jdkhome:
Do you want to try to use default version?
If I click “Yes”, the next time Netbeans started, the same message appear.
So to remove this, I change “netbeans.conf” in “C:\Program Files\NetBeans 7.0\etc”.
Change “netbeans_jdkhome” like this :
then your Netbeans run as normal. ^_^