Getting a LicenseException when using IUPACNamingPlugin

User dc9564761a

11-05-2012 21:30:13

Hi all,

 This is my first post on the forum. I have installed Marvin Sketch and the corresponding marvin beans from Java. I have managed to import a simple SD file and convert it into Smiles, Inchi and other formats but I'm having problems with IUPACNamingPlugin. I initialize a new plugin as follows:

IUPACNamingPlugin pl = new IUPACNamingPlugin();

then, I simply do a:


and although naming runs from within the GUI, from Java it throws the following exception:

Exception in thread "main" chemaxon.license.LicenseException: No valid license has been found.
Product name: Structure to Name Plugin
License path: /home/user/.chemaxon/license.cxl
Please contact sales _at_ to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: />    at chemaxon.license.LicenseHandler.checkLicense(
    at chemaxon.marvin.calculations.IUPACNamingPlugin.getName(
    at chemaxon.marvin.calculations.IUPACNamingPlugin.getPreferredIUPACName(
    at org.chemaster.Chemaster.main(
Java Result: 1


Additionally, I have installed all necessary licenses as to be able to run Marvin Sketch and, indeed, when using the GUI everything goes like clockwork.

Any suggestions?

ChemAxon e08c317633

14-05-2012 16:12:50

You don't need a license to use this functionality in MarvinSketch, but it requires "Structure to Name" license to run it in batch mode or via API. Please contact sales _at_ if you want to obtain a license or if you have any questions about licenseing.