Juergen Haas wrote: > Dear Jmol community, > > I am using Jmol to generate a png which is placed as a background picture > behind the jmol applet, such that when printing this picture would be printed > instead. > > on my workstation this command works beautifully: > > java -jar ~/programs/jmol-11.6.13/Jmol.jar -on -s myJMOL.script > > on the node of the cluster where the images will be generated (as a dynamic > content of web pages beta.proteinmodelportal.org, after submitting two or > more structures to be analysed), however, I get: > > Could not initialize class sun.awt.X11GraphicsEnvironment > > why does Jmol need an X11 environment when started with -n ?
The following page (which I found yesterday after my reply) tries to answer the question why graphical Java programs need an X server on Linux: http://openbook.galileodesign.de/javainsel5/javainsel14_013.htm (Sorry, but it is written in German.) This might also apply to Jmol. And besides the page proposes another solution besides 'Xvfb', the 'Pure Java AWT Toolkit' (http://www.eteks.com/pja/en/). I don't know if this will help with Jmol but it might be worth a try. Regards, Rolf ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
