Posted by Brian Willkie-2 on Apr 28, 2008; 10:34pm URL: http://imagej.273.s1.nabble.com/advice-on-running-ImageJ-headless-tp3696386p3696388.html
Hi Albert,
Thanks for the reply. I'm running on a Mac (cluster), so I'm not sure
if this is an option. There's a mention of it on the wiki, but it's
rather vague:
> 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