What are the access requirements to spy on elements in a Java Application?
Issue Description
Unable to spy on elements in a Java Application. UiPath prompts to install the extension, even though it has already been installed.An example of the error:
"We detected that you are trying to capture in a Java window that uses a custom JRE. Would you like to install the Java support files?"
Resolution
Approach #1
The error occurs because UiPath does not have enough access to run the exe and the jar files from the current location. The user will need to get the required permissions by contacting their system admins.
Check these first:
Given below are the steps that will give permission to the ALL APPLICATION PACKAGES:
- Open File Explorer and navigate to the packages folder.
- Right-click the UiPath folder and select Properties. The Properties window is displayed.
- In the Security tab, click the Edit button from the Group or User Names section. The Permissions window is displayed.
- Click the Add button. The Select Users or Groups window is displayed.
- Click the Locations button, select your machine from the list, and then click OK. You are returned to the Select Users or Groups window.
- Click the Advanced button to enable searching.
- Click the Find Now button, select ALL APPLICATION PACKAGES from the Search results list, then click OK.
- Click the Check Names button to validate your selection, then OK to confirm the changes and return to the Permissions window.
- Select the ALL APPLICATION PACKAGES object, then select the Read & Execute, List Folder Contents, and Read permissions.
- Click Apply to confirm the changes, then OK to close the Permissions window
Approach #2
Try changing the input method of the impacted Ui activity and retry.
Approach #3
Try to process with an Image-based automation for that window by using computer vision activities.