Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 10:54:59 -0700 (MST)
From:      Nate Williams <nate@yogotech.com>
To:        Ernst de Haan <ernst@jollem.com>
Cc:        Nate Williams <nate@yogotech.com>, Mike Murphree <n4cnw@knology.net>, freebsd-java@FreeBSD.ORG
Subject:   Re: Differences in jdk1.2.2-beta?
Message-ID:  <15014.30195.431085.1919@nomad.yogotech.com>
In-Reply-To: <20010307185144.A1208@c187104187.telekabel.chello.nl>
References:  <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> <15014.29676.54843.83693@nomad.yogotech.com> <20010307185144.A1208@c187104187.telekabel.chello.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Try running this command:
> > > 
> > >    ${JAVA_HOME}/java \
> > >       -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \
> > >       innoval.mailer.jstreet
> > 
> > I don't believe 'java' expands ~ paths, so the user will either have to
> > use full pathnames (ie; /home/mike/jstreet/innoval/jar') or relative
> > paths and make sure that the program is always run from the same
> > directory (ie; ./jstreet/innoval.jar).
> 
> No, 'java' doesn't, but the shell does. Try to execute this:
> 
>    echo ~
> 
> This gives me, on bash:
> 
>    /home/ernst
> 
> I tested this on 'sh' and 'tcsh' too, both work the same as bash in this
> respect.

I know the shell does, but does the expansion occur in the middle of the
argument, ie; '.....:~/.....'  I don't believe it does, but I could be
wrong.  I know that we had some problems with this in our Makefiles, but
in retrospect, make uses /bin/sh, which does not do expansion.




Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15014.30195.431085.1919>