batch_converter plugin error

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

batch_converter plugin error

William Jeffrey Triffo
hello,

when I put the Batch_Converter.class file in the plugins folder,
relaunch ImageJ, and then try to execute the plugin, I get the following
error:

java.lang.ClassFormatError: Incompatible magic value -1095041334 in
class file Batch_Converter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:520)
    at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:246)
    at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:209)
    at ij.IJ.runUserPlugIn(IJ.java:156)
    at ij.IJ.runPlugIn(IJ.java:124)
    at ij.Executer.runCommand(Executer.java:104)
    at ij.Executer.run(Executer.java:58)
    at java.lang.Thread.run(Thread.java:613)



am running Mac OS X 10.5.2.

thanks,

-Jeff
Reply | Threaded
Open this post in threaded view
|

Re: batch_converter plugin error

dscho
Hi,

On Wed, 21 May 2008, Jeff Triffo wrote:

> java.lang.ClassFormatError: Incompatible magic value -1095041334 in class file
> Batch_Converter

This probably means that it was compiled for Java6, while you only have
Java5 or even lower.

I'd try to recompile,
Dscho