Installing Licenses on Servers

Documentation for installing license files issued for versions prior to 5.0

The possible ways of installing licenses on a server:

  1. Using system variables (recommended):
    The location of the license file can be set with:
  2. Manual install:
    The license.cxl file must be stored in the .chemaxon (Unix) or chemaxon (Windows) sub-directory under the home directory of the user who started JChem Server.
  3. Command line install:
    Launch the license shell script (Unix) or license.bat batch file (Windows).
    Type license -h for the list of available options.
  4. Using API:
    chemaxon.license.LicenseManager.setLicenseFile(String path)

Install licenses on server without client install

In case of (embedded) Marvin applets the licenses can be installed on servers without needing to install them on any client machine.
The license resides on the server in this case, and the path of the license should be explicitely set. The recommended way of this configuration is to use the chemaxon.license.url Java system property.
However there is a restriction to this configuration. Only those licenses can be configured this way, that have the "Server mode allowed" field.

Java Web Start

Example:

<resources>
  <property name="chemaxon.license.url" value="http://www.yourserver.com/license.cxl"/>
</resources>

Restrictions: