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.
While choosing JDK on panel : "Choose the installation folder and JDK™ for the NetBeans IDE" after click on browse button and after click OK button in apeared window for choosing JDK in installer panel appears following line: C:\Program Files\Java and warning in bottom of panel : "The specified JDK folder C:\Program Files\Java does not contain JDK.
When JFileChooser is opened, this folder (C:\Program Files\Java) is selected as the current folder and it is also typed in "File Name:" field (this is the default file chooser behavior) When you close the browse dialog with clicking OK this location (C:\Program Files\Java) is set as the JDK location - and the message is correct since there is no JDK there. So I don`t see any issue here.
It would be better if behaviour of "Browse" will be similar to this one on the previous panel " Choose the installation folder for JDK " e.g. if was not changes in path for JDK in JFileChooser - the value of JDK path should remain by default.
Since "it would be better.." then it is the enhancement.:) CC-ing Jano.
Is the request the following statement?... The initial value for JDK folder in NetBeans installation panel should be the same as the specified _installation_ folder for JDK in the JDK installation panel. I would agree with that. If it's something else, can you please clarify?
Assigned to new owner.