• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMagick JNI problem.  RSS feed

 
Aniruddha Chaudhari
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to call C++ libraries in ImageMagick via jmagick JNI. I initially got an exception as
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 could not get 64 bit jmagick.dll that's why, I replaced 64 bit JDK by 32 bit JDK and thought it would work.
But, now its giving me similar exception with different description
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\jdk1.6.0_21\bin\jmagick.dll: %1 is not a valid Win32 application


I am unable to resolve the problem.
Any help would be highly appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!