Dependency on X server to export images.

User 07eebf78ca

05-10-2004 20:42:30

Hi,





This has been there for a long time but I'm reporting this only now. When I want to export a Molecule as a JPEG(or any image format), JChem need to have a X Display assigned to the process to be able to export it. In my case, I'm runnning a tomcat server that create JPEG images of molecules and display them in some webpage. I do start the tomcat server with the following JAVA option-





-Djava.awt.headless=true





From the name I can understand that it means something like, you will be running without a X display. It doesn't seem to help. Can this be fixed? Will it be fixed?





Thanks,


Sarav

ChemAxon 7c2d26e5cf

06-10-2004 14:29:01

You can find an alternative solution here:


http://www.chemaxon.hu/forum/ftopic73.html