From owner-freebsd-questions Wed Aug 26 16:59:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20974 for freebsd-questions-outgoing; Wed, 26 Aug 1998 16:59:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20963 for ; Wed, 26 Aug 1998 16:59:30 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id LAA03224; Thu, 27 Aug 1998 11:58:25 +1200 (NZST) (envelope-from jonc@pinnacle.co.nz) Date: Thu, 27 Aug 1998 11:58:24 +1200 From: Jonathan Chen To: "David W. Curry" cc: FreeBSD-Questions Subject: Re: Executing java application. In-Reply-To: <35E41E42.D4667031@magickalhome.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 26 Aug 1998, David W. Curry wrote: > run them with the java command, it doesn't. For example. > > java HelloWorld.class > > Gives me : > > Cannot find class HelloWorld.class > > Know what I am doing wrong? What's your CLASSPATH set to? Unset it and rerun. BTW java-questions get a better response from freebsd-java@freebsd.org. -- Jonathan Chen ----- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message