[2050] in java-interest
Re: loading error
daemon@ATHENA.MIT.EDU (Mentor)
Fri Sep 22 13:11:51 1995
Date: Fri, 22 Sep 1995 09:57:14 -0400 (EDT)
From: Mentor <mentor@io.org>
To: Jeffrey Tseng <jtseng@graphics.cornell.edu>
cc: java-interest@java.sun.com
In-Reply-To: <9509220119.AA07222@merckx.graphics.cornell.edu>
On Thu, 21 Sep 1995, Jeffrey Tseng wrote:
>
> I have written a few classes, but kept them all in the same file. One of
> the classes extends Applet, but the others don't. When I try to use HotJava
> to load the class file, it gives me an Access Exception error, and says that
> an "applet has attempted to read ...filename.class"
It was driving me bananas on a SPARC, but then I read the docs... ;-)
I moved everything to ~/public_html/classes, and the problem went away. It
turns out that $HOME/public_html/ is one of the possible directories which are
okay to access as determined by the HOTJAVA_READ_PATH environment variable.
So, you have two choices: move your stuff to the directory, or change the
variable.
(this should be in the FAQ)
Cheers,
David Forster
Mentor Software Solutions
<a href="http://www.io.org/~mentor">Mentor Software Solutions</a>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com