11-05-2012, 04:21 PM
Hi
Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java applicvation to launch
I have a java application which does not launch on QTP10 - installed machines.
The reason is that QTP sets following environment variables :
_JAVA_OPTIONS - -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
IBM_JAVA_OPTIONS - -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
JAVA_TOOL_OPTIONS -
-agentlib:jvmhook
When we remove these variables , the application launches just fine but QTP stops recognizing java objects.
Need urgent help on this problem.
Thanks
Abhishek
..
Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java applicvation to launch
I have a java application which does not launch on QTP10 - installed machines.
The reason is that QTP sets following environment variables :
_JAVA_OPTIONS - -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
IBM_JAVA_OPTIONS - -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
JAVA_TOOL_OPTIONS -
-agentlib:jvmhook
When we remove these variables , the application launches just fine but QTP stops recognizing java objects.
Need urgent help on this problem.
Thanks
Abhishek
..