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.
Product Version = NetBeans IDE 6.9 (Build 201006101454) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_20 Runtime = Java HotSpot(TM) Client VM 16.3-b01 Hi, I've been using netbeans 6.9 on windows7 with cygwin1.7.1 to learn c/c++ programming , when I try to run (F6) any program,windows pop-up a dialog box to say that "windows 找不到文件(that means can't find files)/cygdrive/E/Program Files/NetBeans 6.9/ide/bin/nativeexecution/dorun.sh".What's wrong with it.I can run programs in debug mode (ctrl + f5),I have try to find the file but there is nothing in "cygwin/cygdirve/",and I copy "/E/..../dorun.sh" to "cygdrive/",windows7 can't find "dorun.sh" still.I need your help. by the way, I'm not sure that I have choosen the right keyword.I'm sorry for my english.thank you .
I have the same problem. According to the tasklist the used command in my case was cmd.exe /Q /K start "C:\Program Files\cygwin\bin\sh.exe" "/cygdrive/C/Program Files/Netbeans 6.9/ide/bin/nativeexecution/dorun.sh" -p "" -x /cygdrive/C/Users/*****/AppData/Local/Temp/dlight_*****/db746ab2/dlight830319556 the problem is that "C:\Program Files\cygwin\bin\sh.exe" is interpreted as the title name of the new command window (use start /? on a win7 box) because it is surrounded by " A possible fix would be to add a bogus title. for example: cmd.exe /Q /K start "Netbeans" "C:\Program Files\cygwin\bin\sh.exe" "/cygdrive/C/Program Files/Netbeans 6.9/ide/bin/nativeexecution/dorun.sh" -p "" -x /cygdrive/C/Users/*****/AppData/Local/Temp/dlight_*****/db746ab2/dlight830319556 Please keep in mind that the command is incomplete. I think it was truncated after 256 chars (Probably for older windows versions). The full working command should have been: cmd.exe /Q /K start "42" "C:\Program Files\cygwin\bin\sh.exe" "/cygdrive/C/Program Files/Netbeans 6.9/ide/bin/nativeexecution/dorun.sh" -p "mytitle" -x /cygdrive/C/Users/Bodo/AppData/Local/Temp/dlight_*****/db746ab2/dlight8303195560669582088termexec.sh
I downloaded latest setup.exe, launched installer and select C:\Program Files\Cygwin ==> "You should not choose a root path that include spaces in directory names. Proceed anyway?" window appeared. I am not tested yet. Does Cygwin works correctly in "Program Files" now?
The original problem with a space in NB installation was fixed long ago, I believe. The second mentioned problem is a different one - it is about wrong parameters that are passed to 'start' command. The latter is fixed with http://hg.netbeans.org/cnd-main/rev/1d93810fc829