On Wed, Sep 03, 2003 at 09:29:23AM +1000, Ben Burton wrote:

> In addition, if a user wants to add their own classes to the classpath
> (e.g., with jython where adding your own classes can be advantageous
> even if the app itself doesn't need them), they can set $CLASSPATH
> before running the script.  The script then sets:
> 
>   export CLASSPATH="foo.jar:bar.jar:$CLASSPATH"
> 
> and everything just works.  This is somewhat more difficult to arrange
> with command-line options.

java -classpath foo.jar:bar.jar:$CLASSPATH

(-classpath overrides $CLASSPATH)

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to