Intellij and Jmagik (java interface for imagemagick

Hi all
I have having problem with intergrating jmagick (java interface for imagemagick in my intellij IDE).
I placed imagemagik6.3 under c:\program files\ and added jmagick.dll in the same folder.
I also added the jar(1.5) in my lib's directory. I am using intellij (IDE) and it seems it's finding
all the classes in the jar. When I run the program I get the following at run-time error:

java.lang.RuntimeException: Can't load MagickLoader (class not found)

Would you please help me with this issue. I am very new to Jmagick.

Thanks in advance
Raz


mshirazi1Asked:
Who is Participating?
 
InteractiveMindCommented:
Are you sure all of the classes are being found in the JAR?

Try adding the JAR to the CLASSPATH variable...
0
 
InteractiveMindCommented:
add jmagick.dll to c:\windows\
(and make sure that c:\windows\ is in your PATH variable).
0
 
mshirazi1Author Commented:
Hi
I did as you said. (added jmagick.dll into c:\windows and added that folder into my windows path variables).
However, the same problem still exists. and I am gettin invokeException in Intellij with the following value:
java.lang.RuntimeException: Can't load MagickLoader (class not found)
 
0
 
mshirazi1Author Commented:
The issue was that Resin is serving my app and the dll should be placed in the bin folder withing resin.
Those that have resin please don't go with what tutorial is saying
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.