-agentlib
and -agentpath
Use the character "#" in the agent options string to indicate where in the option the library name is specified. Use the character "@" to indicate where the agent options string is specified. The example below demonstrates how the command-line option might be specified.
Example:
-agentlib:#=@