Run ImageJ plugins from the command line in Ubuntu
by Oleg Dzhimiev
1. Get X Virtual FrameBuffer
sudo apt-get install xvfb
2. Launch ImageJ (“cd” to the ij.jar directory):
Xvfb :15 &
DISPLAY=:15 java -Xmx12288m -jar ij.jar -run "TestIJ Plugin"
Comments:
- TestIJ Plugin is the name of the compiled plugin in the ImageJ menu. No need to specify a subfolder.
- :15 is an example.
Links that helped:
Leave a Reply