[ImageJ-devel] error: Unrecognized command: "Versatile Wand"

Chris christopher.coulon at gmail.com
Fri Jul 12 15:53:41 CDT 2013


> Hi Chris,
> 
> > The odd part is that I have Versitile_Wand.java in my java files,
> > along with all my other java files, and it gets compiled into my
> > target/classes, but it still doesn't get recognized.
> 
> The minimal-ij1-plugin's main method sets the plugins.dir prior to launching ImageJ (see footnote [1] below for an explanation why), using some special code:
> https://github.com/imagej/minimal-ij1-plugin/blob/06655b85992b1908d3567f6f177da2c7dad40420/src/main/java/Process_Pixels.java#L176
> 
> Your postcards plugin removed that code:
> https://github.com/ad1054/Postcards/blob/6cdff5e8d98e6f81ebb01919709b128400de0f1e/src/main/java/A_Postcard.java#L33
> 
> Add it back, and things may work better for you.

The only item I (consciously) eliminated is the Process_Pixels.java file.  I put it back in my src/main/java/ did a clean and build, restarted NetBeans and still got the error for Versatile Wand.  Then I realized I was using the main class in A_Postcard for my startup, so I changed the main class to Process_Pixels, and voila!  It works!  Thank you Curtis!  I am finally back on track!  :-)

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20130712/c03178d5/attachment.html>


More information about the ImageJ-devel mailing list