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.

Bug 169004 - better document -agentpath for using in java plugin
Summary: better document -agentpath for using in java plugin
Status: RESOLVED DUPLICATE of bug 173041
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 01:10 UTC by hdong
Modified: 2009-11-05 13:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hdong 2009-07-23 01:10:51 UTC
When profiling an applet in netbeans, it tells user to set -agentpath to agent dll in java control panel runtime
arguments. However, it does not says the argument need be correctly quoted in order to be passed to jvm. People who
copied and pasted the argument in java control panel often complain about the argument is not picked up by java plugin.

A Sun bugster bug 6763455 is an example of commonly misused case. To set it correctly, the path need be quoted if there
are spaces in the path, or use short format of the path. One right example is:

-agentpath:"C:\Program Files\YourKit Java Profiler 7.5.8\bin\win32\yjpagent.dll"
Comment 1 Petr Jiricka 2009-07-24 09:55:04 UTC
Assigning to profiler.
Comment 2 Jiri Sedlacek 2009-11-05 13:17:49 UTC
Fixed in Issue 173041.

*** This issue has been marked as a duplicate of 173041 ***