After installing Talend Studio, and launching it for the first time, Studio fails to open, and you get the following error message:
HP UFT (Unified Functional Testing) / HP QTP (Quick Test Professional) application is installed on the same machine, and this prevents the launch of eclipse based platforms, such as Talend Studio. Thus, you get this error when you open Talend Studio because it sets below environment variables that don't allow eclipse based platforms to open properly.
IBM_JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~2\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~2\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar (similar file path in the machine) JAVA_TOOL_OPTIONS: -agentlib:jvmhook
There are two possible solutions:
Uninstall HP UFT/QTP and remove the environment variables, IBM_JAVA_OPTIONS and JAVA_TOOL_OPTIONS.
If you need both applications on the same machine, another option is to create a batch file to clear the values of the environment variables that are causing an issue when launching Talend Studio. You must run this file every time you launch Studio. However, running this file will not delete the values from the environment variables so you can launch UFT(QTP) on the same machine. To create the batch file, follow the steps below:
Add the following content:
@echo off Setx _JAVA_OPTIONS "" Setx JAVA_TOOL_OPTIONS "" Setx IBM_JAVA_OPTIONS "" Talend-Studio-win-x86_64.exe (Or the name of your Talend executable file.)