[4033] in java-interest

home help back first fref pref prev next nref lref last post

help!

daemon@ATHENA.MIT.EDU (Chris Gokey)
Thu Dec 7 22:43:53 1995

Date: Thu, 7 Dec 1995 12:25:08 -0500
From: ra104@cosc.bsu.umd.edu (Chris Gokey)
To: java-interest@java.Eng.Sun.COM

Help!

I'm new to this, so if anyone can help me I would truly appreciate it.

I am going through the hotjava tutorial on Writing an Applet.  I created
in my home directory (unix) two directories html, classes.  I put
the Hello.html program in the html directory and HelloWorld.java in the classes
directory.  Then, I compiled the HelloWorld.java program.  No problems 
so far...   Now, I want to run this and see the wonderful results....  I
am absolutely positive that everything is typed in correctly according to:
  doc:///doc/appguide/StepByStep.html
But when I load Hello.html, it refuses to load the applet, it puts this
red block up in place of saying hello to me.....

There is one condition though in which it does work, at least sort of...  
If I have both the html file AND the .class file in the same directory AND
I load hotjava in that directory, then the applet will load....  Great, but
why won't it work the way it is suppose to?  Any why does it load only when
I load hotjava in the directory the html file and class file is located?

Its probably something simple, but what???   How can I start up hotjava in
any directory and specify the html file and it knows where to go to find the
class?

Thanks for any assistance you can offer,
Chris Gokey

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post