Date: Fri, 6 Oct 2000 16:48:44 +0100 From: "Aleksandar Simic'" <alex@frustum.clara.co.uk> To: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp> Cc: freebsd-java@freebsd.org Subject: Re: Java CLASSPATH problem Message-ID: <20001006164844.A864@frustum.clara.co.uk> In-Reply-To: <55d7hem1hk.wl@is.titech.ac.jp>; from fuyuhik8@is.titech.ac.jp on Sat, Oct 07, 2000 at 12:29:59AM %2B0900 References: <20001006162715.A745@frustum.clara.co.uk> <55d7hem1hk.wl@is.titech.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 07, 2000 at 12:29:59AM +0900, Fuyuhiko Maruyama wrote: > Hi, > > At Fri, 6 Oct 2000 16:27:15 +0100, > Aleksandar Simic' <alex@frustum.clara.co.uk> wrote: > > classpath set in ~/.profile: > > CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH > ^^^^^^^typo? Doh ! [hits the head on the nearest wall *really* hard, repeatedly] > > [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH > > .:/usr/local/jdk1.1.8/lib/calsses.zip > ^^^^^^^typo? [and again] > In fact, you need not specify these. > > > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class > All you need to run your HelloWorld is > java HelloWorld > The suffix '.class' is never needed. That solved the problem. Thank you. And thanks to the rest of you for pointing this out. Fuyuhiko just happen to be the first one to spot it. > Go! Yep, I'm going ... going to sit in the corner and die of embarrassment :( Thanks again to all. --Alex 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?20001006164844.A864>