• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1537
  • Last Modified:

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


0
mshirazi1
Asked:
mshirazi1
  • 2
  • 2
1 Solution
 
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
 
InteractiveMindCommented:
Are you sure all of the classes are being found in the JAR?

Try adding the JAR to the CLASSPATH variable...
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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now