1. Close QTP and Lotus Notes
2. Check your machine's environment variables (System Variables) for the following:
-agentlib:jvmhook for JAVA_TOOLS_OPTIONS
3. Run regedit to launch the Windows registry editor.
4. Under ''HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentModules'', create a new DWORD value. The name will be notes2.exe (or whatever your current Notes executable is named). Double check to make sure it matches the filename (including the .exe) of your version.
5. Set the value for this new DWORD value to 0. This should prevent QTP's Java agent from being injected in the jvm for Notes.
6. Save your registry change and Launch Notes and verify it starts correctly.
Another fix that works for some people:
1. Navigate to the following registry key:
HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentLoadDependsOnPackage - 32bit OS
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMercury InteractiveJavaAgentLoadDependsOnPackage - 64bit OS
2. Modify the value from ''0'' to ''1''. The default value is 0 which indicates that the agent is always loaded into an application. If this value is then changed to 1, it will instruct the agent to only be injected when QTP and the Java addin are loaded.
3. For changes to take effect, please restart the machine