From owner-freebsd-questions Wed Aug 26 16:53:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20029 for freebsd-questions-outgoing; Wed, 26 Aug 1998 16:53:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from magickalhome.com (magickalhome.com [206.42.185.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20013 for ; Wed, 26 Aug 1998 16:53:14 -0700 (PDT) (envelope-from david@magickalhome.com) Received: from magickalhome.com (ip-55-053.sna.primenet.com [207.218.55.53]) by magickalhome.com (8.9.//8.8.5) with ESMTP id SAA01403; Wed, 26 Aug 1998 18:52:57 -0500 (CDT) Message-ID: <35E43DCD.D24C6A4@magickalhome.com> Date: Wed, 26 Aug 1998 16:54:37 +0000 From: "David W. Curry" X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: Mark CC: freebsd-questions@FreeBSD.ORG Subject: Re: Executing java application. References: <199808262323.SAA02007@offline.dct.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My don't I feel sheepish :) Thanks, Dave Mark wrote: > > > > 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