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 IDE is started via association (user double clicks on .java file in Windows explorer and the IDE is not running yet), before the IDE is started there should be a message box displayed saying "The NetBeans IDE is not running. Do you want to start it up to open the specified Java file?" [OK/Cancel] or in case NBM file was clicked: "The NetBeans IDE is not running. Do you want to start it up to install the specified module?" [OK/Cancel]
Set target milestone to TBD
what if the user select 10 .java files and press Enter? Do you want to show 10 confirmation dialogs? I think not. This is actually a serious problem right now for file association. I can't verify 100% right now because I don't have NB installed by the installer and I am dial-up. But I created c:\x.bat with echo %* pause and associate .java to it. When I select three java files and press Enter three console windows show up. This is how Windows works. In case of multiple selection it obviously runs multiple instances of the associated program and passes one file to each instance. There may be a special technique but our installer certainly does not use it. You can imagine the consequences... BTW uninstalling the IDE does not remove the association. A known bug?
You are right this should not happen, it is a matter of implementation, apparently, it cannot be done via a shell script the way you did it. As far as the bug with uninstall, please file an issue.
This is non-standard behaviour on the Window platform. Going to close this request.