[thelist] Java: basic help?

Chris Johnston chris at fuzzylizard.com
Thu Sep 19 20:56:01 CDT 2002


Hassan Schroeder wrote:

> No, just close that shell (DOS) window and open another.

Right, thanks for the correction on that.

>
> But the question of how you're trying to run the program is key;
> that error message sounds like you're trying to run it using the
> appletviewer, and that sure won't work ...

All you should be entering to run the program is:

    C:\javaprograms> java HelloWorld

And the program will run. You don't even need to put the .class
entension on the end. Just make sure that you are in the same directory
as the file you are trying to run. All this should be done from the
command line.

/chris

--
www.fuzzylizard.com
chris at fuzzylizard.com






More information about the thelist mailing list