Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Oracle 8i - Java stored procedures
I am trying to execute an operating system command from a Java
stored procedure (Oracle 8i) and it seems like the command is
not getting executed. The command is accessible to the "Oracle"
user.
Here is the java code that does that. I am using the java.lang.Runtime class.
Process proc; proc = Runtime.getRuntime().exec("cp test.tif test2.tif");
Am I missing something here? The same function works fine outside the oracle server using the Sun VM.
Thanks,
Venu
venuj_at_mycfo.com Received on Wed Sep 29 1999 - 17:29:07 CDT
![]() |
![]() |