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.
1. Start installer. Go to the step where IDE's folder should be specified. In destination text field you can see path "/Applications/NetBeans 6.0 200707250000.app". 2. Click "Browse..." button for select right place. 3. In appeared dialog choose necessary folder and select "Choose". Result: In destination text field appears "selected_dir/BaseIDE.app". Why IDE's folder was changed?
The erroneuos code is in DestinationPanel.DestinationPanelSwingUi#browseButtonPressed. We make suffix from product display name which result in Base IDE (not NetBeans XXX). Anyway, the similar strange behavior is observered on all other platforms. E.g. on windows I type non-existing directory in the Browse dialog and "NetBeans XXX" is added to it (as a child). We should revise directory selection behavior...
*** Issue 111682 has been marked as a duplicate of this issue. ***
'browse and select' behavior has been fixed for macosx and left "as is" for other platforms. Now if the user selects not default directory (for NetBeans IDE) using browse button then the location is set to <selected dir>/NetBeans 6.0 <build-number>.app PS. actually, the last child folder name is used for getting the new directory full path. If the user changes the application name in the text field to e.g. 'NetBeans 6.0.app' (e.g. to /Applications/NetBeans 6.0.app), then after selecting other location using browse button (e.g. to /Users/<user>/Desktop), the final location is changed to /Users/<user>/Desktop/NetBeans 6.0.app.
Verified with build 200708070000.