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 ? I found this thread (last message id shown here): http://www.mail-archive.com/[email protected]/msg06975.html since this was from 2006 I was wondering, if there now is a way to circumvent this problem. thanks in advance! Best regards Juergen full error message: java -jar ~/programs/jmol-11.6.13/Jmol.jar -ion -s myJMOL.script ; Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at java.awt.Toolkit$2.run(Toolkit.java:836) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828) at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:120) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1556) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591) at javax.swing.UIManager.setLookAndFeel(UIManager.java:537) at javax.swing.UIManager.setLookAndFeel(UIManager.java:577) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1331) at javax.swing.UIManager.initialize(UIManager.java:1418) at javax.swing.UIManager.maybeInitialize(UIManager.java:1406) at javax.swing.UIManager.getDefaults(UIManager.java:656) at javax.swing.UIManager.put(UIManager.java:985) at org.jmol.export.dialog.Dialog.setupUIManager(Unknown Source) at org.openscience.jmol.app.Jmol.main(Unknown Source) -- Dr. Juergen Haas Swiss Institute of Bioinformatics Klingelbergstr. 50-70 CH 4056 Basel, Switzerland ------------------------------------------------------------------------------ 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
