• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JMagick JNI problem.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic