Hi,

I have the openjdk-6 which is in Debian main:

http://packages.debian.org/sid/openjdk-6-jre

and most (all) java applets seems to work, including for example this test:

http://www.java.com/en/download/help/testvm.xml

however, jmol doesn't. This page says:

http://jmol.sourceforge.net/browsercheck/

Operating System         Linux
Web browser     mozilla
Browser version         1.9.0.3
navigator.userAgent     Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
has getElementById()    true
navigator.javaEnabled()         false

So I went into my preferences and I have "Java enabled" checked. So I
unchecked, restarted iceweasel, checked again, restarted iceweasel and
now the browser check says:

navigator.javaEnabled()         true

however, no jmol applet works (it shows a blank canvas). So I went
into Tools -> Error Console and there I found:

applet.script is not a founction
http://jmol.sourceforge.net/jmol/Jmol.js

and when clicking on it, it showed the line 389:

      if (applet) applet.script(script);

so it seems like a bug in Jmol.js.


I am new to javascript --- how can I debug it? Apparently applet is
something nonzero, but it doesn't have the ".script()" method. I
searched the archives of this list and I saw similar problems already,
but no conclusion.

Thanks for any help,
Ondrej

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to