Hi All,

Please help me resolve this problem.
I have WinRunner 9.2 (with Java add-in 7.6) & QTP 9.5 (with Java add-in 9.1) installed on my own PC.
I also updated patch for WinRunner Java add-in, then now I have the following Environment variables:
_JAVA_OPTIONS : -Dawt.toolkit=mercury.awt.awtSW -Xrunjvmhood -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\ classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAV AAD~1\classes\mic.jar;C:\PROGRA~1\COMMON~1\MERCUR~ 1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCU R~1\FUNCTI~1\Java\classes\jasmine.jar

(This variable is added when updating the WinRunner Java add-in patch - WR76JP30)

My application under test should be started up by the command: C:\>java.exe -Xmx512m -jar c:\src\app.jar

At this moment, when I start the application, errors occur:
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook;-agentlib:micsupp
Picked up _JAVA_OPTIONS: -Dawt.toolkit=mercury.awt.awtSW -Xrunjvmhood

-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\ classes;C:\PROGRA~1\COMMON~1

\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar;C:\PRO GRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classe

s;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\clas ses\jasmine.jar
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory:

If I remove QTP Java add-in, it works normally.

Please help me resolve it. I need to automate this application with QTP.

Thanks so much.