Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> PATH in java

PATH in java

From: John Dunn <jdunn_at_sefas.com>
Date: Thu, 19 Oct 2006 16:38:30 +0100
Message-ID: <000701c6f394$a1e42270$3e04050a@johnman>


I am using rt.exec in a java stored procedure to run OScommands(Unix commands and scripts from java), however the PATH does not seem to be set, so I have to specify the full path of the command I want to run (e.g. /usr/bin/lp).
How can I set the PATH so that I do not need to specify the full path of the command?
Platform is Oracle 10.2 on various unix platforms

John

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Oct 19 2006 - 10:38:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US