This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If the jdk_home property in netbeans.conf is not pointing to a valid JDK installation, the application exits after stating something along the lines of 'cannot find java.exe'. It could be expected to search for a suitable JDK on it's own in this scenario, just as it does when the jdk_home property is completely missing.
Sounds more like enhancment for me, can you look at it Core guys?
If someone *sets* netbeans_jdkhome than it should be used. It might be confusing to actually use different JDK. We will rather focus on better selection of JDK before we fallback to this property.
Reopening the issue since the reasoning behind WONTFIX does not satisfy. The issue is not limited to setting a non-existent JDK, but also occurs when e.g. the JDK referenced in netbeans.conf is deleted. In this case I can not see any confusion when falling back to the system default JDK, or whatever NB does when jdk_home is not set.
Now I see - installer sets the jdk during installation.
Installer allows user to select JDK to run IDE and uses selected JDK to run storage builder (preparses JDK sources). Then installer passes selected JDK to IDE in netbeans.conf. If this way should be cancelled installer must use THE SAME way as IDE to select default JDK when IDE is started for the first time (of course this can work only when installed JDKs are not changed between installation and first IDE usage). Conclusion: To fix this issue installer must know how to select default JDK and if/how to inform user about selected default JDK.
Hi. I'll second the validity of this issue, since I was about to file an issue after installing -- or more specifically, upgrading -- my JDK to the 1.5_07 release, at which point NetBeans refused to launch. I had to re-download the NB installer and re-install it to get it to use the new JDK. Thanks. Steven Coco.
seems to be fixed now
done together with issue #74497
This issue had *1 votes* before move to platform component