Created attachment 120637 [details]
Dialog box screenshot
This is usability issue.
It is perfectly normal thas user updates his/her JDK like I did from 1.7b4 -> 1.7u4. Some how Netbeans is falled in love with original version. Even that you tell it, that its OK to use this new version, it will ask it forever.
There is no point of asking this kind of question. I did not select the original version of JDK when I installed Netbeans. If it's necessary to ask this kind of question there should be option box "use this new default version permanently"
Dialog which irritate me
==== Invalid jdkhome specified ====================
Cannot locate java installation in specified jdkhome C:\Program Files\Java\jdk1.7.0.
Do you want to try to use default version?
I know I can go to fix this manually, but I think that Netbeans should be clever to fix it automatically.
I know about that and agree with you it can be annoying, but now it's not a priority. We're going to fix it in next NB version.
Thank you for report.
In NB 7.3 you can't even fix it manually. NB no longer reads the netbeans.conf file and ignores --jdkhome in command line.
Only work-around I could find is to copy the Java installation directory and renamed it (or re-install NB).
(In reply to comment #2)
> In NB 7.3 you can't even fix it manually. NB no longer reads the netbeans.conf
> file and ignores --jdkhome in command line.
I daily builds the --jdkhome option is not ignored issue 227068