Installing Licenses to Desktops
Note: Documentation for installing license files issued for versions prior to 5.0 can be found here.
This document describes the ways of installing licenses to PC i.e. desktop applications.
This way the license is installed for the current user only.
For installing licenses on servers, please refer to this document instead.
The possible ways of installing licenses to desktops:
- Install with GUI (recommended)
- Using system variables:
The location of the license file can be set with:CHEMAXON_LICENSE_URLenvironment variable (help on setting environment variables)chemaxon.license.urlJava system property
;".
In case license files are set this way, the license files from the user's home directory will not be read unless the special word "default" is given.
Example:-Dchemaxon.license.url="C:\ChemAxon\license2009.cxl;C:\ChemAxon\license2010.cxl;default" - Manual install:
The license file must be stored in the.chemaxon(Unix) orchemaxon(Windows) sub-directory of the user's home directory. The following locations are accepted:(.)chemaxon/license.cxl(the license file name is fix)(.)chemaxon/licenses/*.cxl(from version 5.3.2 only - the license file can have arbitrary name, the extension is fix)
- Command line install:
Launch thelicenseshell script (Unix) orlicense.batbatch file (Windows).
Typelicense -hfor the list of available options. - Using API:
chemaxon.license.LicenseManager.setLicenseFile(String path)
chemaxon.license.LicenseManager.setLicense(String s)
Launching ChemAxon License Manager GUI (CLM)
ChemAxon License Manager is a central place where you can manage the licenses of all ChemAxon products. Three basic ways of launching:- Choose "Licenses..." from the Help menu of any ChemAxon application.
- The Start menu on Windows: Start->Programs->ChemAxon contains several packages.
You can find the same CLM in any package. - Launch using the
licenseshell script (Unix) orlicense.batbatch file (Windows).
The CLM graphical user interface
Steps of installing the licenses
The licenses are usually stored in thelicense.cxl file
which you receive from ChemAxon.You don't need to open or edit the content of this file, just simply save it to an arbitrary location of your file system.
- Click on the Browse... button
- Select the location where you have saved your license.cxl file.
- Press the Install button
- Installing licenses is complete, you will see a license overview where you can see the installed licenses.
Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!
