August 04, 2004

在windows+tomcat上使用jmagick

  以下内容,摘自网友cndba的回信:

Hilton,你好

搞定了。
刚才去http://www.yeo.id.au/jmagick/ 搜索了一下。要在tomcat中使用JMagicK需要这三步:
1. Put Jmagick.jar in your WEBINF/lib dir
2. Put the following line in an initialization part of your webapp:
//Tell jmagick.magick.Magick to not use the system ClassLoader
System.setProperty("jmagick.systemclassloader","no");

3. make sure the Jmagick.dll and Imagemagick dlls are on the system
path

我没有做第二步,所以总是报错。别人也可能遇到同样的问题,麻烦你把这个放在你的网站上吧(如果你觉得有必要)。

Posted by Hilton at 08:13 AM | Comments (7) | TrackBack