The recorder can't locate control elements

When you try to map Java™ elements, the recorder can't locate the control elements.

Symptoms

The Java™ driver can't locate the control elements. IBM RPA Studio does not throw any errors, or present visual cues.

Causes

The following list describes the possible causes:

Resolving the problem

The following sections show how to resolve the problem based on the cause.

You are using a customized version of Java™

  1. Open the command line interface.

  2. Open the path to customized Java™ installation within the command line:

    cd path/to/installation/folder
    
  3. Run the following command:

    bin\jabswitch.exe -enable
    

Computer is missing the Java™ Runtime Environment

  1. Open the Start Menu and search for Edit the system environment variables.
  2. Click Environment Variables....
  3. In the System Variables section, click New....
  4. Enter the variable name WDG_JAVA_IGNOREINSTALLKEY.
  5. In the Variable value field, type 1 and click OK.
  6. Restart the computer.

This procedure makes IBM RPA initialize the Java™ driver even if it's not already installed.