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.
Suggested agentpath string is not correct if java is installed into Program Files directory. Spaces are not supported in the argument (by JRE) and users have to escape it manually before it works.
I don't understand what is the expected behavior. Spaces are supported - they delimit the options.
If NB is used to profile/debug applets then NB suggests to set agentpath to stop applet after VM startup. However, sugested string might be not valid. E.g. -agentpath:C:\Program Files\NetBeans 6.7.1\profiler3\lib\deployed\jdk15\windows\profilerinterface.dll=C:\Program Files\NetBeans 6.7.1\profiler3\lib,5140 Note the spaces in the "Netbeans 6.7.1" and "Program Files". Copied to Java Control Panel as suggested it will not work as spaces will be treated as delimiters. Netbeans should suggest usable string.
The whole "-agentpath" string needs to be double-quoted if there are spaces in path. Fixed in profiler-main. http://hg.netbeans.org/profiler-main/rev/3b25eb1130d4
*** Issue 169004 has been marked as a duplicate of this issue. ***