views:

20

answers:

1

java.lang.UnsatisfiedLinkError: no JMagick in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1045)

when trying to use the code

ImageInfo info;

    try {
      info = new ImageInfo();
      //image = new MagickImage(info);

    } catch (MagickException e) {
      logger.error(InsightsHelper.getStackTrace(e));
    }

any ideas why this is happening? I'm using eclipse on OSX

A: 

The simple answer is that the JVM is trying to find a native library used by JMagick, and failing. Either you don't have the native library at all, or it is not where the JVM is looking for it.

Stephen C
I downloaded a package for osx from here: http://joggame.com/software/jmagick.html ran the configure/make/make install and all went well. What else would I have to set up for java to find it?