Login  Register

RE: ImageJ and .Net

Posted by sushma569 on Aug 31, 2009; 5:11pm
URL: http://imagej.273.s1.nabble.com/ImageJ-and-Net-tp3691332p3691334.html

Hi,

 

Thanks for your quick response.

 

[code]

 java.lang.System.getProperties().setProperty("plugins.dir", "C:\\Program Files\\ImageJ\\plugins\\Examples");

 

IJ.runPlugIn("My_Plugin_HelloWorld", "test");

[/code]

 

This worked and I was able to run the plugin finally.

 

Thanks again.

 

From: Johannes Schindelin (via Nabble) [mailto:[hidden email]]
Sent: Monday, August 31, 2009 1:07 PM
To: Venkatesh, Sushma (S)
Subject: Re: ImageJ and .Net

 

Hi,

On Mon, 31 Aug 2009, sushma569 wrote:

> As a previous post suggested I used IKVM to create a .dll version of
> ImageJ to use in .Net environment.
>
> I have created a simple plugin that takes some string as input and prints
> out "Hello " + str.
>
> I tried the IJ.runPlugin(...) command but I cannot get it to run this
> plugin. Basically either ClassNotFoundException or nothing happens.

Did you set the property "plugins.dir" appropriately?  I.e. to point to
the directory containing the .class and/or .jar files defining the
plugins?

Ciao,
Dscho


View message @ http://n2.nabble.com/ImageJ-and-Net-tp3554710p3554824.html
To unsubscribe from ImageJ and .Net, click here.