[ImageJ-devel] Testing the HelloWorld Plugin

Johannes Schindelin Johannes.Schindelin at gmx.de
Tue Jul 2 12:49:31 CDT 2013


Hi Mohamed,

On Tue, 2 Jul 2013, Johannes Schindelin wrote:

> On Tue, 2 Jul 2013, Mohamed Tleis wrote:
> 
> > I wanted to test the HelloWorld Plugin from the tutorials. I named it
> > HelloWorld_Plugin and copied the compiled class to the plugins folder.
> > I have Hello World Plugin in the Plugins Menu now, but it does nothing
> > upon clicking.
> > 
> > [...]
> > 
> > 2. Why Hello World dialog message doens't display upon accessing from
> > the menu?
> 
> Did you have a look at the console output?

Just to make sure that nothing silly is happening, I did this (you might
want to explain in as much detail what you did in the future):

1) I made sure that my imagej-tutorials is up-to-date

2) I used Maven to build (this is by far the easiest thing to do):

	mvn

   You could use your development environment of choice (Eclipse,
   Netbeans, IntelliJ, etc) to build it, too.

3) I copied the generated .jar file (which is called
   simple-command-1.0.0-SNAPSHOT.jar) from simple-command/target/ to my
   ImageJ.app/plugins/

4) I started ImageJ2 via ImageJ.app/ImageJ-linux64

5) I started the command launcher by hitting the 'L' key

6) I typed "Hello" in the search box

7) I called the "Hello, World!" plugin

It did show a message box, greeting the whole world. So basically I have
no clue what went wrong on your side, but I am sure we can find out
together if you provide every bit of useful information you can extract
from your trial.

Ciao,
Johannes




More information about the ImageJ-devel mailing list