Solved

Intellij and Jmagik (java interface for imagemagick

Posted on 2006-12-01
4
1,393 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 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A short article about problems I had with the new location API and permissions in Marshmallow
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

860 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