Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Intellij and Jmagik (java interface for imagemagick

Posted on 2006-12-01
4
Medium Priority
?
1,487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

721 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