Re: advice on running ImageJ headless
Posted by
Albert Cardona on
Apr 28, 2008; 8:48pm
URL: http://imagej.273.s1.nabble.com/advice-on-running-ImageJ-headless-tp3696386p3696387.html
Hi Brian,
You can run ImageJ or ImageJA on a virtual frame buffer. For example:
$ Xvfb :15 &
$ DISPLAY=:15 java -Xms3600m -Xmx3600m -classpath ij.jar ij.ImageJ -eval
'run("My PlugIn Name");'
Just be sure to call System.exit(0) at the very last line of your
plugin, or you won't see it return when its done.
The above assumes an X11 installation exists.
Hope that helped.
Albert
--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona