From owner-freebsd-questions Wed Aug 26 16:24:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15658 for freebsd-questions-outgoing; Wed, 26 Aug 1998 16:24:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from offline.dct.com (online.dct.com [204.29.185.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15644 for ; Wed, 26 Aug 1998 16:24:33 -0700 (PDT) (envelope-from markm@offline.dct.com) Received: (from markm@localhost) by offline.dct.com (8.9.0.Beta5/8.8.8) id SAA02007; Wed, 26 Aug 1998 18:23:28 -0500 (CDT) From: Mark Message-Id: <199808262323.SAA02007@offline.dct.com> Subject: Re: Executing java application. To: david@magickalhome.com (David W. Curry) Date: Wed, 26 Aug 1998 18:23:28 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <35E41E42.D4667031@magickalhome.com> from "David W. Curry" at Aug 26, 98 02:40:03 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have compiled my own applications in Java. I am taking a tutourial on VJ++ and > am trying to write and execute the same software on my FreeBSD box. I have been > writing the code in my home directory and compling them with javac. If I try to > 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? Try running "java HelloWorld" instead. -- Mark Maurer markm@dct.com mwmaurer@mtu.edu Programmer, Digital Magic Interactive http://www.dminteractive.com Senior, Michigan Technological University Houghton, MI -- Views do not represent those of my employer or school To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message