I am trying to extract some information from a CIF file using JMol from the
command line on a server.
PHP is executing the JMol jar file and then I just need to get the
information into STDOUT.
For instance:
java -jar Jmol.jar -onj "load mycif.cif; getProperty modelInfo"
raises a java.awt.HeadlessException because, I suppose, even though the -n
flag is set, one of the objects created by JMol is an AWT or Swing object.
So then I tried switching to JmolData.jar, but the getProperty modelInfo
command doesn't work when that is run. For some reason, none of the
modelInfo.XXXX[] appear in the console output. How can I get JmolData.jar
to give me this information?
Thanks,
John
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users