|
Yeah, I got that. I'm suggesting that maybe you SHOULD run a script:
>From your CL:
qsh cmd('/davedir/davescript.sh')
Then, in davescript.sh:
...
PATH="$PATH:/somedir"
java -cp somefile.jar com.midrange.myapp.MyClass parm1 parm2
...
etc etc, something like that. ;-)
-Marty
------------------------------
date: Tue, 28 Sep 2004 11:22:03 -0500
from: David Gibbs <david@xxxxxxxxxxxx>
subject: Re: How to set the path for qshell?
Urbanek, Marty wrote:
> Maybe set your path in a shell script instead of CL before you call your Java
> code.
I'm not running a script. I'm invoking the java command via qshell.
qsh cmd('java -classpath somefile.jar com.midrange.myapp.MyClass parm1
parm2')
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.