Search code examples
intellij-idealoadrunnerhp-uftkatalon-studio

HP UFT and LR are blocking execution of other IDEs


IntelliJ IDEA Community Edition and Eclipse cannot be started after UFT and LR are installed on Windows 8.1. These applications can be started only as an administrator user. When I try to execute as a standard user I don't get any error message, seemly nothing happens, application is not started. Applications can be executed as administrator user, but don't working properly. It means Maven dependencies aren't resolved in IntelliJ IDEA and browser session cannot be started by Katalon Studio. I can't find any error logs.


Solution

  • When you install UFT/LR they update the JAVA OPTIONS

    • _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

    Just make a batch file for launching eclipse and intellij and remove these hooks and it should work. These hooks are usually added for automation and recording to work. Most of the time they are supposed to be transparent and not create an issue but with some apps they may cause partial issues.

    This could be the same happening. The easiest way to test is to backup the values of these environment variables and then delete them and test if IDE works fine again