When QuickTest Professional (QTP) or HP Sprinter and java application (for example Lotus Notes Client 8.5.1) are installed on the same machine, even if QTP or Sprinter is not used to test Lotus Notes we see that Lotus Notes application will crash unexpectedly on startup.
Prevent the Java agent from injecting in the Java Virtual Machine (jvm):
Find the process name of the application that is crashing (shown in the Task Manger). For example "notepad.exe"
Go to Registry (Start>Run>regedit)
Navigate to registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\JavaAgent\Modules"
Note: On 64 bits operating system, locate path under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mercury Interactive\JavaAgent\Modules
Create a DWORD value with the same name as the process name of application.
Set the value as "0"
Note: The above steps only apply to application that run with .exe (if it’s a jar or bat file, the suggestion will not work).