Not able to run java class placed on oracle forms application server using host command-oracle forms
Hi All
I am trying to run a java class(sg_tap.class) which is placed on oracle form application server at location /abc/def/sg_tap.class
When I run the class from putty using command(java -cp .:dependency-3.0.1.jar sg_tap param1 param2) then it works successfully. param1 and param2 are 2 arguments.
But when I run the same command using host keyword in oracle forms then it does nothing.
host('/bin/java -cp .:dependency-3.0.1.jar sg_tap param1 param2');
I used "/bin/java" beacuse 'which java' command returns '/bin/java' path on server .
Oracle forms version is 12c. Oracle forms application server is Red hat 8.9