How to Resolve Issues with Running OS Commands from Java Stored Procedures

(Doc ID 1370302.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.

*** Checked for relevance on 17-Jul-2017 ***


You have created a java stored procedure to execute OS Commands from an Oracle Database server but you encounter permission problems, are unable to read values for environment variables set when the database server was started, or perhaps get strange exit status from the OS command when it completes.

NOTE: Most have used the code in <Note:109095.1> even though it is clearly documented as not supported.



May have upgraded from 9.2 to a current version


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms