Date: Wed, 26 Aug 1998 14:40:03 +0000 From: "David W. Curry" <david@magickalhome.com> To: Patrick Gardella <patrick@cre8tivegroup.com> Cc: FreeBSD-Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Executing java application. Message-ID: <35E41E42.D4667031@magickalhome.com> References: <XFMail.980826080737.patrick@cre8tivegroup.com>
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? Patrick Gardella wrote: > Dave, > > All you need to do is use: > java name.of.app > > That's it. 'Course the name of the app may be different from what you are used > to. For example, to run FreeBuilder, a free Java IDE, you change directories > into /usr/local/freebuilder, and then run it with: > java org.freebuilder.Main > > That sets all the classpaths correctly for use with this app. > > Which app are you trying to use? > > Patrick Gardella > > On 25-Aug-98 David W. Curry wrote: > > I am not sure this is the right group to ask this, so please forgive > > me. I have the JDK port for FreeBSD. I have no problem compiling java > > applications into classes, nor do I have a problem running java applets > > with java capable browses. I compile them using the javac command. > > What I can't figure out how to do is run stand alone java applications > > in FreeBSD. I can do it, of course, with VJ++ on Windows. Can anyone > > help me? > > > > Thanks, > > > > Dave 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?35E41E42.D4667031>