Java Bridge

In order to automate Java Applications using the Java Sensor in Element Target activities you need to enable the Java Access Bridge.

Please note! Make sure to have Java application installed to automate your process.

There are two ways of enabling the Java Access Bridge

Enabling the JAB in ease of Access Center

  1. Go to Start > Control Panel > Ease of Access > Ease of Access Center. Alternatively, press Windows Key + U to access the Ease of Access Center.
  2. Select Use the computer without a display.
  3. In the section Other programs installed, select the check box Enable Java Access Bridge (you may have to scroll down).

Image_Pasted_at_2019-5-16_10-51.jpg

 

Please Note! After enabling Java Access Bridge, you must restart the AM Composer and Java applications that use the accessibility API.

 

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

 

 

 

Please Note! The Java Sensor in AM Composer is only compatible with Java AWT and Java Swing Apps.

 

 

Was this article helpful?
0 out of 0 found this helpful