Skip to content

Commit 709959f

Browse files
authored
Merge pull request #8722 from mitsirak17/main
AB#5590: Added troubleshooting steps for Java automation
2 parents 983adaa + 627878e commit 709959f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

support/power-platform/power-automate/desktop-flows/ui-automation/cannot-access-java-application-elements.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Can't access elements of a Java application
33
description: Troubleshoot the issue that Power Automate for desktop can't access the elements of a Java desktop application.
44
ms.reviewer: pefelesk
5-
ms.date: 10/29/2024
5+
ms.date: 04/29/2025
66
ms.custom: sap:Desktop flows\UI or browser automation
77
---
88
# 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
1818

1919
## Troubleshooting steps
2020

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+
2133
1. Ensure that you have Java installed on your machine:
2234

2335
- 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
3446
3547
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.
3648
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":::
3850
3951
3. Ensure that specific files exist in one or more Java folders of the machine after the Power Automate for desktop installation.
4052

0 commit comments

Comments
 (0)