Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 1998 18:23:28 -0500 (CDT)
From:      Mark <markm@offline.dct.com>
To:        david@magickalhome.com (David W. Curry)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Executing java application.
Message-ID:  <199808262323.SAA02007@offline.dct.com>
In-Reply-To: <35E41E42.D4667031@magickalhome.com> from "David W. Curry" at Aug 26, 98 02:40:03 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808262323.SAA02007>