> Hello Miguel,
> thanks for your email
> I have modified your JSSAMPLE1 file to use with
> Windows XP and a local JAR file
> but from the java-console the following error
> in reading the structure file

[snip]
>
> error opening file:/c:/hb/java/jmol/sample/caffeine.xyz
> java.security.AccessControlException: access denied
> (java.io.FilePermission c:\hb\java\jmol\sample\caffeine.xyz read)
>
> openFile(sample/caffeine.xyz) 16 ms

An applet cannot read from the local hard drive.

I suggest that you run the applet from a web server instead of accessing
the local file system via file://...

Rules for applet security are somewhat complicated.

Others on the jmol-users mailing list understand the behavior when running
from the local file system better than I do.

Post questions to [email protected]


Miguel

-----
Open Source Molecular Visualization
www.jmol.org
[EMAIL PROTECTED]
-----



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to