Licence problem

User fa59d493d5

27-02-2006 13:38:28

I have a licence problem. Checking a plug-in I add the licence key and I am able to view the result sevaral times. However when I close the software and I re-open it the licence key has disappeared and I have to enter it again. I go to the .chemaxon directory and I see only the chemaxon.properties file.





I add the licence.txt file but nothing change. I have the licence problem when I use reactor. The problem is general with marvinsketch, msketch, marvinview, mview





My version of marvin 4.04 Jchem 3.15


My system MacOs X 10.4.5

ChemAxon fb166edcbd

27-02-2006 16:31:17

One possibility is that you (the user who runs msketch) do not have write permission in the .chemaxon directory. You should also have a marvin.properties file there which stores your preferences. Please check the write permission.





If you want to set the file manually then the file name should be: licenses.dat (licenses.txt is also accepted but licence.txt is not).


For Reactor you can only set the license directly in the license file.





In Marvin 4.1 there will be a graphical license handler tool. For the current license handling mechanism of ChemAxon, see:


http://www.chemaxon.com/jchem/doc/user/Licenses.html

User fa59d493d5

28-02-2006 07:11:44

It seemed that the problem rely in the way to quit marvin. Using the quit command (command Q) have no effect. The .chemaxon directory was not created and the modification (licence keys, preferences) were not registered. However when the close commande (command w) was used the .chemaxon directory and the licence key files were created. The installation could be completed using a text editor to add data to the licences.dat file.





My version of marvin 4.04 Jchem 3.15


My system MacOs X 10.4.5

ChemAxon fb166edcbd

28-02-2006 13:37:28

It seems that the "quit command (Q)" simply kills the JVM (System.exit()) and we do not handle this case. This corresponds to killing the process directly from the operating system instead of exiting from the application. Currently the code is prepared to handle the latter exiting methods only.





We are planning to solve this but probably not in the near future.

User 521218acf5

28-02-2006 14:31:52

Using Marvin APIs can i convert MOL files to GIF / PNG files?

ChemAxon 7c2d26e5cf

28-02-2006 17:21:04

Yes, you can convert the molecule in various image format (e.g.: PNG). http://www.chemaxon.com/marvin/doc/user/images-doc.html


Use the MolConverter API or the Molecule.toBinFormat method for image export.


The following example demonstrate how you can use Molecule.toBinFormat(String) to convert a molecule in an image file.


http://www.chemaxon.com/marvin/examples/converter/SimpleConverter.java.txt