Creating a new project in RPT 8.5 results in Java build path warning

Technote (troubleshooting)


Problem(Abstract)

Attempts to create a new project in IBM Rational Performance Tester (RPT) result in the warning "Build path specifies execution environment JavaSE-1.6.There are no JREs installed in the workspace that are strictly compatible with this environment."

Symptom

Steps to Reproduce:

  1. Start RPT 8.5
  2. Create a new performance project

Expected result: A new performance project is created without any errors

Actual result: A new performance project is created with the following warning:

"Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."

Cause

The newly created project has Java Build Path to JRE System Library [JavaSE-1.6] whereas RPT 8.5 workbench now uses [JavaSE-1.7] by default.

Resolving the problem

Modify the Java Build Path to JavaSE-1.7 to solve the warning.

  1. Right click the project and choose Properties from the menu

  2. Select Java Build Path from the tree pane

  3. Delete JRE System Library [JavaSE-1.6] from Libraries tab

  4. Click Add Library

  5. Choose JRE System Library and click Next

  6. Choose either:
    • Workspace default JRE (jdk)
    • [JavaSE-1.7 (jdk)] from "Execution environment"

  7. Click Finish and close properties window

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Performance Tester
Test Configurations

Software version:

8.5

Operating system(s):

Windows

Reference #:

1643525

Modified date:

2013-07-11

Translate my page

Machine Translation

Content navigation