<div dir="ltr">Hi Christian,<div><br></div><div><div>> I start it from Eclipse. I imported imagej as a maven project.</div><div>> </div><div>> I also tried to set the System.property "plugins.dir" (as in the</div><div>> minimal-IJ1-plugin example), but it did not help. The strange thing</div><div>> is, that the plugins are shown in the Plugins-menu, so I assume that</div><div>> the plugins.config files are parsed correctly.</div></div><div><br></div><div>Thanks, I can confirm this bug. I filed an issue for it:</div><div> <a href="https://github.com/imagej/imagej/issues/110">https://github.com/imagej/imagej/issues/110</a><br></div><div><br></div><div>In the meantime, you can work around by copying your project JAR file(s) into your ImageJ application's jars/ and plugins/ folders as appropriate, and launching ImageJ via the ImageJ launcher as usual.</div><div><br></div><div>Regards,</div><div>Curtis</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 16, 2015 at 9:40 AM, "Christian Göschl" <span dir="ltr"><<a href="mailto:christian.goeschl@gmx.at" target="_blank">christian.goeschl@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Curtis,<br>
<br>
thanks for your answer.<br>
<span class=""><br>
> How are you starting the net.imagej.ImageJ main class? From an IDE? From the command line?<br>
</span>I start it from Eclipse. I imported imagej as a maven project.<br>
<br>
I also tried to set the System.property "plugins.dir" (as in the minimal-IJ1-plugin example), but it did not help.<br>
The strange thing is, that the plugins are shown in the Plugins-menu, so I assume that the plugins.config files are parsed correctly.<br>
<br>
Best,<br>
Christian<br>
<div><div class="h5"><br>
Hi Christian,<br>
<br>
<br>
> When I start ImageJ with net.imagej.ImageJ() as main class, ImageJ<br>
> finds all plugins I put into the plugins directory. However, if I try<br>
> to run one of them, I get a "Plugin or class not found" error.<br>
<br>
How are you starting the net.imagej.ImageJ main class? From an IDE? From the command line?<br>
<br>
Regards,<br>
Curtis<br>
<br>
On Thu, Jan 15, 2015 at 9:20 AM, "Christian Göschl" <<a href="mailto:christian.goeschl@gmx.at">christian.goeschl@gmx.at</a>> wrote:<br>
<br>
Hi all,<br>
<br>
I've downloaded and compiled the source code for ImageJ2.<br>
When I start ImageJ with net.imagej.ImageJ() as main class, ImageJ finds all plugins I put into the plugins directory. However, if I try to run one of them, I get a "Plugin or class not found" error.<br>
If I start ImageJ with ij.ImageJ() as main class, the plugins work as expected.<br>
Do I have to set a class path (or some other option) for ImageJ2 to find the plugins?<br>
<br>
Thanks,<br>
Christian<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
</div></div><a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a>[<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a>]<br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
<br>
</blockquote></div><br></div>