Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Intellij and Jmagik (java interface for imagemagick

Posted on 2006-12-01
4
Medium Priority
?
1,514 Views
Last Modified: 2008-01-09
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
Comment
Question by:mshirazi1
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:InteractiveMind
ID: 18059274
add jmagick.dll to c:\windows\
(and make sure that c:\windows\ is in your PATH variable).
0
 

Author Comment

by:mshirazi1
ID: 18061136
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
 
LVL 25

Accepted Solution

by:
InteractiveMind earned 1000 total points
ID: 18062866
Are you sure all of the classes are being found in the JAR?

Try adding the JAR to the CLASSPATH variable...
0
 

Author Comment

by:mshirazi1
ID: 18105385
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Screencast - Getting to Know the Pipeline

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question