"Undefined Variable in line 51: <import> ij . ij"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"Undefined Variable in line 51: <import> ij . ij"

fa11enspectre
I have created a modification for ImageJ's included Volume_Viewer plugin, and attempt to run it as a .ijm. When I do this, ImageJ throws the aforementioned error. What does this mean, and how can I fix this? Should I try exporting it as a .jar instead? If so, how do I do this? (I use Eclipse.)

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: "Undefined Variable in line 51: <import> ij . ij"

dscho
Dear Fa11en,

On Mon, 11 Apr 2011, fa11enspectre wrote:

> I have created a modification for ImageJ's included Volume_Viewer
> plugin, and attempt to run it as a .ijm. When I do this, ImageJ throws
> the aforementioned error. What does this mean, and how can I fix this?
> Should I try exporting it as a .jar instead? If so, how do I do this? (I
> use Eclipse.)

The volume viewer plugin is written in Java and must be compiled prior to
running. The .ijm extension is reserved for macros written in the ImageJ
macro language, which is interpreted and has a completely different
syntax.

You might want to read the plugin writing tutorial by Werner Bailer, it is
rather excellent:

        http://www.imagingbook.com/index.php?id=102

There are also some tutorials out there how to configure Eclipse to
compile and run plugins. Please look at

        http://imagejdocu.tudor.lu/doku.php?do=search&id=eclipse

for more details.

Ciao,
Johannes