Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling a Java stored Procedure

278734Jun 16 2002
hi all
i've a problem and i ask if anyone can help me

-i wrote a java class with one method to call an exe (i.e:"notepad.exe")
using Runtime.exec("notepad")

-then i loaded this class using loadjava and it was sone successfully

-And Created a Function As language java
the function was created successfully

-When trying to call this function the calling will be completed without openning the notepad

(note:runtime.exec returns no exceptions)

Anyone can explain why this happened
and are there any special roles must be granted to the user to run a certain exe
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2002
Added on Jun 16 2002
3 comments
704 views