Skip to main content

Notifications

Power Automate - Power Automate Desktop
Suggested answer

Bridging Embedded Java Instance to Power Automate Desktop

Posted on 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
    Deenuji_Loganathan_ 5,903 on at
    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
    CU30110544-0 5 on at
    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
    Nived_Nambiar 16,559 on at
    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
    CU02120957-0 33 on at
    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
    Nived_Nambiar 16,559 on at
    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
    CU02120957-0 33 on at
    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
    Nived_Nambiar 16,559 on at
    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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard