Troubleshooting/Applet

From Jmol
Revision as of 15:43, 29 January 2009 by AngelHerraez (talk | contribs) (format)
Jump to navigation Jump to search

Problems running the Jmol Applet in a web page

The applet does not show up

First of all, wait. Java may take time to load the first time, and the applet must be downloaded.

Yellow square with a message

  • Symptoms:

A yellow square is displayed in the place the applet should go, with a message inside.

  • Solution:

Read the message. Either you don't have Java installed, or the browser is configured not to use it. Enable Java for the browser or (re)install Java from Sun's site.

Black square with an error

  • Symptoms:

A black square is displayed in the place the applet should go, with a message inside: Error. Click to get more information. When you click, a dialog opens:

Application error.
The application could not execute.
Click on 'Details' for more information.

When yopu click, the Java console opens:

load: class JmolApplet not found.
java.lang.ClassNotFoundException: JmolApplet
(etc.)
  • Solution:

Check if you have forgotten to include a call to jmolInitialize() in your page's source code. Instructions for using jmolInitialize() and the Jmol.js library.

Contributors

AngelHerraez, Cudo29