IBM Support

Starting RPT results in Java application error

Technote (troubleshooting)


Attempts to start up IBM Rational Performance Tester (RPT) results in the Java Application error "java.lang.reflect.InvocationTargetException" when HP Quick Test Professional (QTP) Java Add-in is installed.


Steps to Reproduce:

  1. Install RPT

  2. Install HP QTP Java Add-in

  3. Start RPT

Expected results: RPT starts up normally

Actual Results: RPT fail to start with the following error:

Eclipse: "An error occured. See the log file"


HP QTP Java add-in is affecting Java global environment variables.

Note: This issue can happen with any other products that hook Java environment variables.

Resolving the problem

Remove the following environment variables by following either option A or B.

Option A: Recommended for using RPT and HP QTP simultaneously.

  1. Open command prompt

  2. Execute the following commands


    Note: There should not be any blank space after the = sign

  3. Execute set command without any arguments to confirm the variables are removed

  4. Navigate (cd) to the folder where eclipse is installed using the same command shell
    cd C:\Program Files\IBM\SDP

  5. Start RPT with -clean option
    eclipse -clean

Option B:
  1. Right click My Computer

  2. Click Properties > Advanced settings > Environment Variables

  3. Locate IBM_JAVA_OPTIONS and JAVA_TOOL_OPTIONS in this list

  4. Backup the values to a notepad

  5. Remove the environment variables

Related information

developer works forum for similar issue reported from a

Document information

More support for: Rational Performance Tester

Software version: 8.3, 8.5

Operating system(s): Windows

Reference #: 1656363

Modified date: 20 November 2013