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

next in thread | previous in thread | raw e-mail | index | archive | help
Nate,

> > 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.

--
Ernst

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?20010307185144.A1208>