OK, Jonathan. Check out
http://chemapps.stolaf.edu/jmol/jmolpic.php?model=aspirin
(or whatever model you want there)
This simply demonstrates Jmol running headless on a server and at least
"displaying" on any platform.
next job is to secure this and allow scripting.
Bob
On Tue, Apr 3, 2012 at 2:20 PM, Robert Hanson <[email protected]> wrote:
> Jonathan, I think this is all set. It was way simpler than I thought; no
> need for PJA. At least, it's working on my computer:
>
> version=12.3.20_dev
>
> # note: Headless operation with image creation works perfectly using
> JmolData.jar
> # java -Djava.awt.headless=true -Xmx512m -jar "JmolData.jar" -J "load
> $tylenol;write image 1000 1000 t.jpg"
> # see also:
> http://leshazlewood.com/2009/08/26/linux-javaawtheadless-and-the-display-environment-variable/
>
>
> I just checked in a minor change that enabled JPG creation; PNG creation
> is already there. Please try this.
>
> 1) Use JmolData.jar, not Jmol.jar
> 2) use java -Djava.awt.headless=true
> 3) Check that note about Linux if it doesn't work.
>
>
>
> Bob
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers