In some installations multiple jre / jdk are present on a system, due shipped with applications. just verify that the UiPath java extensions are installen on that jre/jdk that is invoked when accessing oracle forms e.g in Browser or Application
Were you able to detect objects in example I mentioned? If not, the problem is in installation of Java or Java extension. Than you can try to run command line and run command “java -version”. If it works, the Java is probably installed correctly and you can check how many Javas are installed in your computer. Find and run Configure Java from Start, go to tab Java and button View.
Please add here output from that command and screenshot of dialogue of Configure Java