Registering the IBM Java Runtime Environment in Rational Application Developer

Before using the Java API with Blueworx Rational Application Developer, you must ensure that Rational Application Developer is configured to use the same version of Java that is supplied with Blueworx Voice Response for AIX.

The IBM Java Runtime Environment supplied with Blueworx Voice Response for AIX is Version 6.0.

Consequently, Rational Application Developer must be configured to use IBM 32-bit Runtime Environment for Windows, Java 2 Technology Edition, Version 6.0 before you can use the Java API with Rational Application Developer. To do this:

  1. Open Rational Application Developer.
  2. Select Window->Preferences.
  3. In the Preferences window, expand the Java section and click on Compiler. On the Compliance and Classfiles tab, click on the drop down list next to Compiler compliance level, and select 6.0.

    If 6.0 is not shown in the list, you must install the version 6.0 JRE. To do this:

    1. In the Preferences window, under the expanded Java section, click on Installed JREs.
    2. Select the WebSphere v6 JRE. If this JRE is not included in the list displayed, you must install version 6.0 of the IBM Java Runtime Environment. After you have done this, perform the following steps c to k
    3. Click Add to bring up the Add JRE window.
    4. In the Add JRE window, uncheck the Use default system libraries box.
    5. Enter a name for the JRE in the JRE name field.
    6. Click in the JRE home directory field and then click the Browse button.
    7. Navigate to the directory where you installed IBM Java Runtime Environment Version 6.0.
    8. Click the Add External JARs button. Navigate to the IBM Java Runtime Environment \lib directory.
    9. Select all the JAR files and click OK.
    10. Make sure that core.jar is at the top of the list. To move a JAR file, select the file and move it using the Up and Down buttons.
    11. Click OK.
    12. Repeat steps 2 and 3 of this procedure.
Rational Application Developer will now compile projects using IBM Java Runtime Environment Version 6.0.