Hello,
I need to convert tens of thousands of cube files to jvxl files. I am able to
do this on my mac by running a command like:
java -jar Jmol.jar -ionx HOMO.cube script
where script contains:
isosurface SIGN color red blue cutoff 0.02 HOMO.cube; write "myfile.jvxl"
This all works well. The problem is that I need to run this conversion on the
linux box where I am creating a database with the jvxl files and a bunch of
other stuff. When I try to do this, I get an error:
java -jar mol.jar -ionx HOMO.cube script
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which
requires it.
at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:437)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:174)
at org.openscience.jmol.app.jmolpanel.JmolPanel.startJmol(Unknown
Source)
at org.openscience.jmol.app.Jmol.main(Unknown Source)
I've seen someone else referencing this same problem on this thread:
https://sourceforge.net/mailarchive/message.php?msg_id=12772213
So, even with the --nodisplay option set, Jmol needs access to an xserver. No
x server will be available when my data importer is running. Is there any way
around this?
Thanks,
Craig
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users