Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Y9qU7DGjT9LTXk0XmuEThk
Power Automate - Power Automate Desktop
Suggested answer

Bridging Embedded Java Instance to Power Automate Desktop

Like (1) ShareShare
ReportReport
Posted on 7 Nov 2023 15:09:57 by 33

I have ran into an issue while trying to use desktop automation on a legacy system that uses Java. I tried following all docs for the Java bridging etc and no success. I then realised that the legacy system installs with a Java instance within its directory.

 

I am wondering how I would be able to bridge this so that Desktop PA can identify text boxes, drop downs etc inside of the legacy system?

 

Scrambled folder destinations below of the Java instance and PA for reference if anyone knows how.

 

Java Instance -> my computer\ Program Files (x86)\ LEGACY\ bin\ java

 

PA -> my computer\ program files (x86)\ Power Automate Desktop

  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,105 Super User 2025 Season 1 on 02 Dec 2024 at 05:06:11
    Bridging Embedded Java Instance to Power Automate Desktop
    Hi 
     
    Please follow the below troubleshooting steps and make sure you have installed java extension in you computer.
     
    If it's not highlighted in green and displays an alert, then you need to install the Java extension on your system using the following steps:
     
    If you found my answer helpful? Please consider marking it as the solution!

    Thanks,
    Deenu
     
  • CU30110544-0 Profile Picture
    5 on 30 Nov 2024 at 05:49:55
    Bridging Embedded Java Instance to Power Automate Desktop
    Hi, Not sure if this will apply the same to you as it has me but when automating things in Java based aps I have to run Power Automate in Admin mode or it wont work right.
  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 07 Nov 2023 at 16:00:50
    Re: Bridging Embedded Java Instance to Power Automate Desktop

    Hi @mpeggie 

     

    I just found a documentation online , does this helps ?

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/java

     

    Ignore if you have refer this earlier 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • CU02120957-0 Profile Picture
    33 on 07 Nov 2023 at 15:52:39
    Re: Bridging Embedded Java Instance to Power Automate Desktop

    Yes I have, I only mentioned browser automation as that works fine. UI automation also works fine just not on the first Java application I have used it on.

     

    I think this is more of a problem with the Java -> PAD set up.

     

    Thanks for the suggestion though!

  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 07 Nov 2023 at 15:46:00
    Re: Bridging Embedded Java Instance to Power Automate Desktop

    Hi @mpeggie 

     

    Did you tried actions under UI Automation section?

     

    Nived_Nambiar_0-1699371927793.png

     

     

    See whether that helps !

     

    browser automation actions are recommended for browser automation only , not for desktop apps 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • CU02120957-0 Profile Picture
    33 on 07 Nov 2023 at 15:39:43
    Re: Bridging Embedded Java Instance to Power Automate Desktop

    Hi,

     

    No. Works fine with browser automation etc. When trying to use on the Java app I get a large box around the whole app rather than UI elements. Screenshot below.

     

    Untitled.jpg

     

    I am hovering over the UserID textbox yet the UI detector can only find the window.

  • Nived_Nambiar Profile Picture
    17,534 Super User 2025 Season 1 on 07 Nov 2023 at 15:20:15
    Re: Bridging Embedded Java Instance to Power Automate Desktop

    Hi @mpeggie 

     

    is it not able to identify any textboxes , or any UI Elements within Java application when using PAD ?

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard