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:
- Open Rational Application Developer.
- Select Window->Preferences.
- 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:
- In the Preferences window, under the expanded Java section, click
on Installed JREs.
- 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
- Click Add to bring
up the Add JRE window.
- In the Add JRE window, uncheck the Use default system
libraries box.
- Enter a name for the JRE in the JRE name field.
- Click in the JRE home directory field
and then click the Browse button.
- Navigate to the directory where you installed IBM Java Runtime Environment Version
6.0.
- Click the Add External JARs button.
Navigate to the IBM Java Runtime Environment \lib directory.
- Select all the JAR files and click OK.
- 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.
- Click OK.
- Repeat steps 2 and 3 of this procedure.
Rational Application Developer will
now compile projects using
IBM Java Runtime Environment Version
6.0.