[3627] in java-interest
Re: Netscape beta2, Solaris 2.4, beta Java: applets do not run
daemon@ATHENA.MIT.EDU (Jill Shermer)
Sun Nov 19 22:53:34 1995
Date: Fri, 17 Nov 1995 11:58:41 -0800
From: jshermer@BASISinc.com (Jill Shermer)
To: m224873@svmstr01.mdc.com
Cc: java-interest@java.sun.com
> From m224873@svxtrm14.mdc.com Fri Nov 17 11:28 PST 1995
> Date: Fri, 17 Nov 1995 13:27:54 -0600
> From: "R.Volkmann" <m224873@svxtrm14.mdc.com>
> To: jshermer@BASISinc.com
> Cc: java-interest@java.sun.com
> Subject: Re: Netscape beta2, Solaris 2.4, beta Java: applets do not run
> Reply-To: "R. Mark Volkmann"<m224873@svmstr01.mdc.com>
>
> > My co-worker, Yao Xu, solved the puzzle for me, and perhaps for you ...
> >
> >
> >1. Launch the netscape 2.0b2 directly from the directory where your
> > html file is, which invokes your applet(s).
> >
> >2. Make sure you have the directory that contains the
> > latest moz2_0.car file in your CLASSPATH ( I unsetenv'd my CLASSPATH
> > variable, moved moz2_0.car into my class directory, and reset my
> > CLASSPATH to point only to that directory ...I had multiple paths
> > set for my CLASSPATH, and this was confusing the software.)
>
> How exactly do I specify the URL for the HTML file?
> Do I have to use an http:// type of URL or can I use a file:// URL?
> Please give me an example so I can make sure I'm doing it correctly.
> Thanks!
>
Hi,
Here is how I specified my URL in the Location text field
to test on my local machine:
file:/subdirectory1/subdirectory2/htmldirectory/HelloEarth.html
So I had to type the full directory path starting from the
system root directory, before specifying the actual html file to run.
Note: My classes are stored in a subdirectory below where my html
files exist. For this reason, I set my CODEBASE tag in my
html file to that full class path.
EXAMPLE HTML file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HTML>
<HEAD><TITLE>Java Beta HelloEarth</TITLE></HEAD>
<BODY>
<APPLET CODEBASE="/subdirectory1/subdirectory2/htmldirectory/classdirectory"
CODE="HelloEarth.class" WIDTH=300 HEIGHT=300>
</APPLET>
</BODY>
</HTML>
~~~~~~~~~~~~~~~~~~~~~~~~~~~
That's it for this simple test!
Finally, Roger Day (roger@ssynth.co.uk) and I have both been unsuccessful in
running the Tumbling Duke demo so far. The BouncingHeads demo works.
(These demo directories are packaged under the java beta directory, under the
demo directory.) I am hopeful this TumblingDuke demo will run once I get
better organized with all of the versions of Netscape and Java I have been
working with (probably 90% of my problem).
I hope this works for you.
-Jill
> |----------------------------------------------------------------------------|
> | R. Mark Volkmann - Principal Specialist Programmer/Analyst |
> | McDonnell Douglas Aerospace, St. Louis, Missouri, USA |
> | EMAIL m224873@svmstr01.mdc.com, VOICE (314)232-0498, FAX (314)233-5489 |
> |----------------------------------------------------------------------------|
> "As the light changed from red to green to yellow and back to red again,
> I sat there thinking about life. Was it nothing more than a bunch of
> honking and yelling? Sometimes it seemed that way." -- Jack Handy
>
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com