You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/power-platform/power-automate/desktop-flows/ui-automation/cannot-access-java-application-elements.md
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Can't access elements of a Java application
3
3
description: Troubleshoot the issue that Power Automate for desktop can't access the elements of a Java desktop application.
4
4
ms.reviewer: pefelesk
5
-
ms.date: 10/29/2024
5
+
ms.date: 04/29/2025
6
6
ms.custom: sap:Desktop flows\UI or browser automation
7
7
---
8
8
# Can't access the elements of a Java application
@@ -18,6 +18,18 @@ Power Automate for desktop can't access the UI elements of a Java desktop applic
18
18
19
19
## Troubleshooting steps
20
20
21
+
To solve this issue, try the [troubleshooter](/power-automate/desktop-flows/troubleshooter) first.
22
+
23
+
1. In Power Automate for desktop, navigate to **Help** > **Troubleshooter**, and then run the [troubleshooter](/power-automate/desktop-flows/troubleshooter).
24
+
25
+
2. In the **Troubleshooter** window, select **Run** on the **Troubleshot UI/Web automation issues** panel.
26
+
27
+
3. If an issue is found for **Java Automation**, expand the panel to see the details.
28
+
29
+
4. If a **Fix** button is available, select it to apply the fix. Ensure all running **Java** applications are closed before applying the fix.
30
+
31
+
If the issue persists after using the troubleshooter, follow these steps to manually troubleshoot the issue:
32
+
21
33
1. Ensure that you have Java installed on your machine:
22
34
23
35
- Open the Command Line tool (cmd) and run the following command:
@@ -34,7 +46,7 @@ Power Automate for desktop can't access the UI elements of a Java desktop applic
34
46
35
47
Go to **Control Panel** > **Ease of Access** > **Optimize visual display** > **Java Access Bridge from Oracle, Inc. Providing Assistive Technology access to Java applications**, and then disable the **Enable Java Access Bridge** option.
36
48
37
-
:::image type="content" source="media/cannot-access-java-application-elements/enable-java-access-bridge-option.png" alt-text="Screenshot of the Enable Java Access Bridge option in the Windows Control Panel.":::
49
+
:::image type="content" source="media/cannot-access-java-application-elements/enable-java-access-bridge-option.png" alt-text="Screenshot of the Enable Java Access Bridge option in the Windows Control Panel." lightbox="media/cannot-access-java-application-elements/enable-java-access-bridge-option.png":::
38
50
39
51
3. Ensure that specific files exist in one or more Java folders of the machine after the Power Automate for desktop installation.
0 commit comments