Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Environment variables _JAVA_OPTIONS and JAVA_TOOL_OPTIONS is preventing java app
#1
Not Solved
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\clas​ses\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\clas​ses\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

..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to record JAVA Swing application with JAVA add-in Mrudula Chinchanikar 0 991 11-24-2021, 07:18 PM
Last Post: Mrudula Chinchanikar
  "A fatal error has occurred" - Launching App UFT 14.01 AndileMkumla 0 1,258 10-31-2018, 06:24 PM
Last Post: AndileMkumla
  Unable to perform operations on objects under WinObject in .net app ramakant 0 1,915 11-10-2015, 07:56 PM
Last Post: ramakant
  QC Environment Input Omegadash 0 1,419 10-15-2015, 11:53 AM
Last Post: Omegadash
  Runtime variables details amitmanekar91 0 2,226 03-07-2015, 08:27 PM
Last Post: amitmanekar91

Forum Jump:


Users browsing this thread: 3 Guest(s)