Date: Fri, 6 Oct 2000 11:18:45 -0500 (CDT) From: Joseph Thomas <jpt@networkcs.com> To: alex@frustum.clara.co.uk (Aleksandar Simic') Cc: fuyuhik8@is.titech.ac.jp (Fuyuhiko Maruyama), freebsd-java@FreeBSD.ORG Subject: Re: Java CLASSPATH problem Message-ID: <200010061618.LAA09698@us.networkcs.com> In-Reply-To: <20001006164844.A864@frustum.clara.co.uk> from "Aleksandar Simic'" at Oct 06, 2000 04:48:44 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > [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. > I think it's more an issue of you CAN'T specify the trailing '.class'. Someone will correct me if I'm wrong but I believe that java will always append the .class so that when you say java HelloWorld.class it looks for HelloWorld.class.class. -- Joseph Thomas E/Mail: jpt@networkcs.com Network Computing Services, Inc. jpt@magic.net 1200 Washington Ave So. Tel: +1 612 337 3558 Minneapolis, MN 55415-1227 FAX: +1 612 337 3400 An elephant is a mouse with an operating system. 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?200010061618.LAA09698>