Login  Register

Re: UnsupportedClassVersionError

Posted by Joris FA Meys on Feb 28, 2009; 11:34pm
URL: http://imagej.273.s1.nabble.com/UnsupportedClassVersionError-tp3693514p3693520.html

I would like to post the code, but it's in total over 2000 lines. That might
be a bit over the top...

By now, I figured out that it might be an incompatibility between ImageJ
versions. I use the jar of ImageJ 1.41 in my building environment. After
changing that to the jar of 1.36 and recompiling everything, the plugin
works on all versions of ImageJ I have on my own computer as it should.

A friend of mine tried out both jars as well, and came to the same
conclusions : the old one runs on ImageJ 1.37 in a Java 4 environment, the
new one gives the class-version error. In a Java 5 environment, it all runs
smooth.

I'm still puzzled as to why the extra class makes such a difference, but as
the problem is solved, I'm already quite satisfied. Thanks again for the
help and tips.

Kind regards
Joris


On Sat, Feb 28, 2009 at 3:29 PM, Gabriel Landini <[hidden email]>wrote:

>
>
> Can you post the code or jar so somebody else can try?
>
> G.
>