Enabling 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, you must rerun the enabler.

To run the Java Enabler:

  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. 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.

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

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

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

  3. When the search is complete, 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. If you ever want to disable an environment that has already been enabled, select the JRE in the list.

    Click Disable.

    The selected environment will be disabled for Java testing. The enabled indicator will disappear after the name.

  8. When you are done enabling environments, click Close.

Notes:

Upgrade Note: If you are upgrading to Functional Tester from either RobotJ or XDE Tester, please see Upgrading from RobotJ or XDE Tester to Functional Tester for important information about re-enabling your Java environments.

 

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.