Enable Java environments

You need to enable Java environments before you can use Functional Tester to test Java applications. Functional Tester is shipped with a JRE that is automatically enabled during your install. The JRE is called "Default JRE." To enable other JREs, or if you install a new JRE, rerun the enabler.

To run the Java Enabler:


Procedure

  1. Click Configure > Enable Environments for Testing any time from Functional Tester to invoke the Enable Environments dialog box (the enabler). Click the Java Environments tab.

  2. Click Search. The Search for Java Environments dialog box opens.

    1. Select one of the following search mechanisms.

      • Quick Search can only be used on Windows systems. It searches the Windows registry for the Java environments, and is quicker than searching your hard drive(s)

      • Search All Drives scans all of your hard drives or partitions to locate all the Java environments on your system

      You should not use the Search All Drives option to find JREs on Linux systems. Instead use the Search in option and browse for the JRE.

    2. Select Search in to browse to a specific drive or root directory to search.

    3. After choosing one of the search mechanisms, click the Search button.

  3. When the search is complete,IBM Rational Functional Tester lists the JREs in the Java Environments list on the left side of the Java Environments tab. The list includes the full path name of each environment. Decide which environments you want to enable.

  4. Select the environments you want to enable by clicking on them in the list. You can select multiple JREs by using the Ctrl key while selecting. Click the Select All button if you want to enable all of the JREs.

  5. Click Enable. The selected environment(s) will be enabled for Java testing. The enabled environments will be indicated in parentheses after each JRE name in the list.

  6. Select a JRE to be the default, and click the Set as Default button.

  7. Click Close.


Results

Notes:

Upgrade Note: If you are upgrading IBM Rational Functional Tester from earlier version versions, you might have to re-enable the Java environment. For more information, see upgrading from earlier versions of IBM Rational Functional Tester topic.


Related concepts

Browser enablement diagnostic tool

Related tasks

Configure Java environments for testing

Run a script from Functional Tester

Enable web browsers

Related reference

Java Environments tab of the Enable Environments dialog box

Search for Java Environments dialog box

+

Search Tips   |   Advanced Search