Several instances of imagej from plugin
Posted by
feelc on
Jul 14, 2015; 3:52am
URL: http://imagej.273.s1.nabble.com/Several-instances-of-imagej-from-plugin-tp5013541.html
Hi!
I'm trying to run more than one imageJ instance of imagej.
To be more concise from within a plugin I want to call a pair of imagej
headless instances while retaining control of them through a pointer to
each instance or messages.
(I may try object serialization and watchfolder but I don't like that idea
much...).
Is it possible with ImageJ now? I remember it had singleton- static
listeners issues avoiding it.
If it is possible how would you do it? Is it possible to run an instance
isolated in a thread?
The streams I get from the process with:* Process
IJprocess=Runtime.getRuntime().exec("java
-jar +ijPath"**); *are not enough.
Besides how do you get imageJ to run a plugin on startup? I tried things
like below without luck:
*Process IJprocess=Runtime.getRuntime().exec("java -jar "+ijPath+"
Test_Plugin.jar");*
Thanks a lot for your time,
Felipe Contreras
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html