Oracle Forms (MOSC)

MOSC Banner

Not able to run java class placed on oracle forms application server using host command-oracle forms

edited Feb 5, 2024 12:01PM in Oracle Forms (MOSC) 4 commentsAnswered ✓

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center