For local operation, you need to have all model files in the directory containing the .jar file or a subdirectory of that. (Jmol.js can be anywhere.) Right now you have caffein.xyz in the directory of the html, ABOVE the directory containing the .jar file. So it works via http:// but not file:///
Bob Hanson
Tamas E. Gunda wrote:
Hi, Points 1-2 are ok. *Exactly* the same file/folder structure works on the server, but not in the PC. If all the files (point 3.) are in the same folder no problems locally. Otherwise the molecule file is not loaded: when I open the jmol console and submit "load caffeine.xyz", the error message is:
Jmol script completed load caffein.xyz File Error:java.security.AccessControlException: access denied (java.io.FilePermission D:\Gunda\jmoltest\caffein.xyz read) ..etc
Quite strange, for when the jmolapplet.jar and jmol.js files are in the same folder as the html and xyz files, it works.
Btw, the files are at: http://delfin.unideb.hu/~gundat/jmol/jmoltest.html and the applet files in a jmol subdirectory.
Tamas
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 07, 2005 5:21 AM
Subject: Jmol-users digest, Vol 1 #560 - 2 msgs
Today's Topics:
1. no local initialization (Tamas E. Gunda) 2. Re: no local initialization (Bob Hanson)
--__--__--
Message: 1 From: "Tamas E. Gunda" <[EMAIL PROTECTED]> To: <[email protected]> Date: Mon, 7 Feb 2005 00:09:39 +0100 Subject: [Jmol-users] no local initialization Reply-To: [email protected]
Hi,
Just beginning to experiment with the Jmol applet... What could be the cause that the test files work OK when uploaded to the server, however, exactly the same files & jmol stuff do not work locally (neither in Firefox nor IE, trying to test in several PC)? According to the Java consol class JmolApplet not found, etc.
Tamas
--__--__--
Message: 2 Date: Sun, 06 Feb 2005 21:12:01 -0600 From: Bob Hanson <[EMAIL PROTECTED]> To: [email protected] Subject: Re: [Jmol-users] no local initialization Reply-To: [email protected]
Tamas,
1. Make sure your model files are in the same directory (or, I think, a subdirectory) of the .jar file you are using. You may also not be pointing to the correct location for the .jar file in the first place.
2. Make sure you are not using "../" anywhere in the path to the .jar file.
3. Try putting all the files -- htm, jar, and model files -- in the same directory and remove all path references. If that works, then (1) and (2) should fix your problem.
4. If this does not solve the problem, post the files somewhere we can take a look at them.
Bob Hanson
Tamas E. Gunda wrote:
Hi,
Just beginning to experiment with the Jmol applet... What could be the cause that the test files work OK when uploaded to the server, however, exactly the same files & jmol stuff do not work locally (neither in Firefox nor IE, trying to test in several PC)? According to the Java consol class JmolApplet not found, etc.
Tamas
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users
-- --
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
--__--__--
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users
End of Jmol-users Digest
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users
-- --
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

