PATH in java

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


Other related posts: