Custom Java version for UI Path

uiautomation
studio
java

#1

Scenario:

We are trying to automate an application which is using a custom java version. This custom version is hidden inside a roaming profile folder where we don’t have write access.
When trying to capture elements using UI Path, UI Path identifies and say there is a custom java version installed, shall I download the relevant files. If click yes, everything fails (possibly due to firewall issues etc)
There is not much we can do around bypassing firewalls etc.
But can we do something like point UI path to use another version of Java instead of default java installation on the machine by pointing it to a folder?

Any recommendations/suggestions are welcome.

Studio/Robot/Orchestrator Version: 2017.1.6435

OS Version: Windows 7
Others if Relevant: (workflow, logs, .net version, service pack, etc):