Documentation for installing license files issued for versions prior to 5.0 can be found here.

Installing Licenses on Servers

The possible ways of installing licenses on a server (web applications e.g. JSP pages, Pipeline Pilot):

  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 on the server, 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)

Licensing Applets

Example:

<script LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
<!--
msketch_begin("../../..", 540, 480); // arguments: codebase, width, height
msketch_param("licenseFile", "https://www.yourserver.com/chemaxon/license.cxl");
msketch_end();
//-->
</script>

Restrictions:

Licensing via Java Web Start

Example:

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

Restrictions: