Well, let me put it this way.  If I do:

cd .../bin
sh run.sh

        Then it works, while if I do:

sh .../bin/run.sh

        Then I get a ClassNotFoundException on org.jboss.Main.  Try it
yourself.  However, if you add the following block to run.sh, it works
fine (I think I'll check this in, if no one objects):

DIR=`echo $0 | sed -e "s/\(.*\)run\.sh/\1/"`
if [ ${DIR:-""} != "" ] ; then
    cd $DIR
fi

Aaron

On Fri, 27 Oct 2000, Rickard [iso-8859-1] �berg wrote:
> Hey
> 
> Aaron Mulder wrote:
> >         Yes - the Class-Path entries in run.jar.
> 
> Are you sure? I think they are relative to run.jar and not from where
> one accessed run.jar...
> 
> /Rickard
> 
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to