IBM Support

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

Troubleshooting


Problem

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

[{"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Test Configurations","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 December 2018

UID

swg21643525