QTP incompatible with Eclipse or any similar Java Application
There are more than a few reasons that you want both QTP and eclipse on your machine.
REASON: This is an issue with QTP, which adds some Java hooks globally, this breaks Eclipse at start time. Removing these will break QTP
When QTP is installed it creates/modifies several environment variables that Java applications use.
The setting for these values that are needed for QTP may cause problems for other Java applications, such as Eclipse.
There are scenarios where QuickTest Professional (QTP) java support environment variables (_JAVA_OPTIONS, JAVA_TOOL_OPTIONS, IBM_JAVA_OPTIONS, _classload_hook) prevent specific applications from launching or functioning properly.
SOLUTION:There are some suggested workarounds from HP in the following support doc: (http://support.openview.hp.com/selfsolve/document/KM834284).
Suggestion three is worth trying and does not require updating HKLM registry.
These suggestions will allow to work around this situation even with the QTP java support variables in place and with corresponding values. Note that the conflicting application will not be recognized in a java context because it is being excluded from the java support mechanism.
Create a batch file (.bat) to start the conflicting java application similar as follows:
This approach will disable the java environment variables for the run session of the .bat file
Set _JAVA_OPTIONS=-Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~2\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
Set 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
Source: HP Support forums.