When Java Ad-in from QuickTest Professional (QTP), Unified Functional Testing (UFT) or Sprinter, and a java application (for example Lotus Notes Client 8.5.1) are installed on the same machine, even if such HP tools are not used to test such Java Application, such application will crash unexpectedly on startup.
Prevent the Java agent from injecting in the Java Virtual Machine (jvm):
1.Find the process name of the application that is crashing (shown in the Task Manger). For example "notepad.exe"
2.Go to Registry (Start>Run>regedit)
3.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
4.Create a DWORD value with the same name as the process name of application.
5.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).