1

I am trying to run a program to call C++ libraries in ImageMagick using jmagick interface (JNI) from a java program. But I am getting following exception


Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.6.0_16\bin\jmagick.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform


I tried to search for jmagick.dll for 64 bit processors but couldn't find any. Could anybody suggest any solution or show me the path if 64 bit dll is available?

Thanks,

Andrea
  • 11,801
  • 17
  • 65
  • 72
user1864555
  • 11
  • 1
  • 2
  • I am also facing same issue. I want to try this API to convert ant file to bitmap image. It will be helpful if you can suggest anything. Thanks in Advance! – Akshada Oct 13 '17 at 13:45

1 Answers1

2

Remove your 64 bits JDK and install a 32 bits JDK. Final users will need a 32 bits JVM.

It's about the same thing when you want to develop with Java ME on a 64 bits processor.


Resources :

On the same topic :

Community
  • 1
  • 1
Colin Hebert
  • 91,525
  • 15
  • 160
  • 151