Specifying Path to Jmol Applet
Author: J. Gutow
Description: Instructions on relative paths

Page Templates | Set Up
> Pop-In > Scriptbutton > Widgets | > Path to Jmol > Jmol on your server > Testing locally (no server)

The Path to the JSmol/Jmol

Relative server path to jar files.
Designate the relative path for your SERVER to the directory 'jsmol' from the directory containing the HTML file.

Relative local path to jar files.
Designate the relative path for a LOCAL HARD DRIVE to the directory 'jsmol' from the directory containing the HTML file. Because of recent security changes the only option is to use '.', which will cause Jmol to create the 'jsmol' directory inside same folder as the HTML file. The jsmol directory may be removed before uploading the page to your server.

Do not forget to account for the fact that the page produced by this program is inside a folder (directory) that you will be adding to your web site.

Server Example: 'jsmol' directory is inside the directory /www/applets on the server, and you will be creating directory /www/yourname/thispage to hold the HTML files. The correct path to the JSmol/Jmol is then ../../applets/jsmol.

Local Example: only '.', without quotes works.