Dear JMOL Community!

I have written a Chemistry Book in HTML Format for the high school and I have 
written a lot of HTML files with a lot of 3D Molecule Animations using CHIME. A 
while ago, I change now CHIME to JMOL und it looks very good.

For about a week, I did an JAVA Update on my Laptop  (Java Ver. 7 update 40) 
and the troubles started:

Nothing works anymore.
After a time of testing: I had to use signed applet instead of normal applets.
But the bigger problem is, that the relative path in the LoadCommand did not 
work.
Example:

<html>
  <head>
    <title>Simple example</title>
    <script src="Jmol.js"></script>
  </head>
  <body>
    <script>
      jmolInitialize(".", true);
      jmolApplet(500, "load 1.mol");
    </script>
  </body>
</html>
All files are in the same directory!

Gives me an Load Error in the applet:

Java.io.FileNotFoundExecption: c:\User\kk\Desktop\1.mol  not found

If I place the mol.file on my desktop, than the 3-d model opens.

I have no java knowhow, but what is wrong???

Should I change to JSmol ? I want only display 3-D Models in a locally stored 
HTML Page, no Checkboxes, very simple. What I have understood is, that the 
JSmol Version do not need anymore JAVA Runtime. It only use JAVA Scripts, and 
so it should work also on Androind and/or iOS ?? In the moment I use my 
Chemistrybook only under Windows.


Thanks for any help!

Klaus

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to