In order to automate Java Applications using the Java Sensor in Element Target activities you need to enable the Java Access Bridge.
There are two ways of enabling the Java Access Bridge
Enabling the JAB in ease of Access Center
- Go to Start > Control Panel > Ease of Access > Ease of Access Center. Alternatively, press Windows Key + U to access the Ease of Access Center.
- Select Use the computer without a display.
- In the section Other programs installed, select the check box Enable Java Access Bridge (you may have to scroll down).
Enabling the JAB via Command Line
To enable the Java Access Bridge, run the following command:
"C:\Program Files\Java\jre1.x.x_xxx\bin\jabswitch" -enable
Disabling the JAB via Command Line
In case you want to disable the Java Access Bridge again (the automation won't run then), use the following command:
"C:\Program Files\Java\jre1.x.x_xxx\bin\jabswitch" -disable