Todd Carlson wrote:

File Error:java.security.AccessControlException: access denied
and
ScriptException:java.security.AccessControlException: access denied

Does anyone know what I'm doing wrong.  I would like to get this sorted
out or I'll have 15 frustrated students I can't help.

This is an applet security issue as mentioned in another thread.
Applets that are not signed can't access files on the harddrive. Since you're opening the file locally, the path is a file:// path, and the java security manager will throw an exception.


Options:
1) As mentioned by Miguel, set up a personal webserver.
        Since you'll be dealing with 15 students, it's probably /not/
        practical to do this on all of the machines. ;)
2) Also as mentioned by Miguel, stick everything in the same directory.
3) Stick the applet on a remote server that has ssh and a webserver
        Students can work on the files via ssh, and still test.
        Some students may not be comfortable with using a shell
4) Sign the jar file.
        There's a bit of upfront overhead in creating your key
        and signing the jar, but it gives you a lot of flexibility.

There are many how-to's out there on self-signing an applet.
Hope this helps,

Robert

Thanks in advance Todd









-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to