Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java app - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java app (/Thread-Environment-variables-JAVA-OPTIONS-and-JAVA-TOOL-OPTIONS-is-preventing-java-app) |
Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java app - abhiagarwal42 - 11-05-2012 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 .. |