From owner-freebsd-java Wed Mar 7 9:55:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id ECA0C37B718 for ; Wed, 7 Mar 2001 09:55:03 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02453; Wed, 7 Mar 2001 10:55:00 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19926; Wed, 7 Mar 2001 10:54:59 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.30195.431085.1919@nomad.yogotech.com> Date: Wed, 7 Mar 2001 10:54:59 -0700 (MST) To: Ernst de Haan Cc: Nate Williams , Mike Murphree , freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? 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> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > 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