im4java-1.0.0 is not working for jdk 1.5

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
venkata

im4java-1.0.0 is not working for jdk 1.5

Post 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)
polakkiioo

Re: im4java-1.0.0 is not working for jdk 1.5

Post 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.
Post Reply