Page 1 of 1

im4java-1.0.0 is not working for jdk 1.5

Posted: 2010-05-10T15:30:50-07:00
by venkata
Hi Guys .

i have installed imagemagick for windows it is working fine with ant script.
Now i want to try using java ( im4java-1.0.0 ) version. which is not working with JDK 1.5 . so which version does it supports ?
it is throwing the following error. Can some one guide me how to run imagemagick in Java ?

Code: Select all


java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

Re: im4java-1.0.0 is not working for jdk 1.5

Posted: 2010-05-11T06:52:57-07:00
by polakkiioo
I downloaded the source, decompiled some abstract classes that where missed in the source code and then compile it again in java 5. Then it's works.