From: charlie@angeles.eng.sun.com (Charlie Lai)
Message-Id: <199808202007.NAA25478@angeles.eng.sun.com>
Subject: Re: Java Security Exeption
To: Nathalie.Marc@toulouse.inra.fr (Nathalie MARC)
Date: Thu, 20 Aug 1998 13:07:14 -0800 (PDT)
In-Reply-To: <35D3F9F3.D932858F@toulouse.inra.fr> from "Nathalie MARC" at Aug 14, 98 10:48:52 am
hi,
> I read with interest the page "Frequently Asked Questions - Java
> Security".
>
> On paragraph 15 "Summary of applets capabilities", you write that an
> applet loaded from the local file system and executed through
> Appletviewer JDK1.x or an unsigned applet loaded from the local file
> system and executed through Netscape Navigator 4.x, can load library.
>
> I try to run a very easy applet, wich loads a shared library, on
> JDK1.1.4 appletviewer (solaris).
> Java source code is in my local disk and applet runs on my disk.
> I get a security exeption. I don't understand why.
when the FAQ says "applets loaded from the Local File System",
it means local applets that reside in the CLASSPATH.
so if you set your CLASSPATH environment variable to point to the
directory where your applet resides, the loadLibrary method call
should work.
thanks,
charlie