Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 1998 16:54:37 +0000
From:      "David W. Curry" <david@magickalhome.com>
To:        Mark <markm@offline.dct.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Executing java application.
Message-ID:  <35E43DCD.D24C6A4@magickalhome.com>
References:  <199808262323.SAA02007@offline.dct.com>

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



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