You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Michael Lee <mi...@collegenet.com> on 2000/11/29 17:30:30 UTC

Re: JAI support added - Question for the image package and all FOP re nderers

Kelly Campbell wrote:
> 
> Eric,
> 
> Here's a patch for build.xml so the JAIImage.java class isn't built unless
> you have JAI installed. It looks like JAI isn't available for linux since
> it ships with some native libraries for Solaris or Windows so adding this
> makes FOP not as cross-platform. I'm not 100% sure on this as I haven't
> tried using JAI for anything yet. Anyone else have any experience with JAI
> on linux or other operating systems?
> 
> -Kelly

I'm running FOP on Debian Linux with JAI with no problems.  I think JAI
falls back to java code if native libraries are not available.  Here's
my CLASSPATH...

CLASSPATH=/home/michaell/src/xml-fop/lib/w3c.jar:/home/michaell/src/xml-fop/build/fop.jar:.:/usr/local/jai/jre/lib/ext/jai_core.jar:/usr/local/jai/jre/lib/ext/jai_codec.jar:/usr/local/jai/jre/lib/ext/mlibwrapper_jai.jar:/usr/local/jaf-1.0.1/activation.jar:/usr/local/javamail-1.1.3/mail.jar:/usr/local/IBMJava2-13/lib/tools.jar:/usr/local/IBMJava2-13/lib/pdflib.jar:/usr/local/NetComponents-1.3.8a/NetComponents.jar:/usr/local/jakarta-regexp-1.1/jakarta-regexp-1.1.jar:/usr/local/jakarta-oro-2.0/jakarta-oro-2.0.jar:/usr/IBMdb2/V7.1/java/db2java.zip:/usr/IBMdb2/V7.1/java/runtime.zip:/usr/local/xerces-1_2_1/xerces.jar:/usr/local/Xalan/xalan.jar:/usr/local/Xalan/bsf.jar:/usr/local/Jimi/JimiProClasses.zip

-Michael