Optional Jars

 

Additional Jars you may need

PDF conversion may require some additional jars on your classpath to handle some PDF files. As these can increase the size of download substantially but are needed on only a small number of PDF files, we do not include them all.

If they are required, the software will generate an error or tell you.

You can either add the jars into the ext directory of Java or add them to the classpath using the -cp option (in which case you can not use the -jar option and will need to specify the class you are running).

JAI

The Java Advanced Imaging library adds better Tiff support and hardware acceleration to some image operations. It can be enabled using a JVM option but will not be automatically used if on classpath. The JAI libraries may come as a single jar which needs to be unpacked into jai_core and jai_codec. We have included a flag to enable it because some customers want to have JAI on the classpath but avoid its usage in JPedal for technical reasons.

Java Advanced Imaging (JAI) can be used to enhance image handling, especially for Tiffs. These files need jai_core.jar

Files with JPEG2000 encoded images will also need imageio.jar, which is part of JAI

We found a problem in imageio.jar and built our modified version.

JAI jar files can be downloaded from here

To run JAI you need the jars on the classpath and the JVM flag -Dorg.jpedal.jai=true set.

Security jars

If the file is encrypted, the JCE library from The Legion Of The Bouncy Castle (http://www.bouncycastle.org).

mailbc.jar is also required along with the main jar to compile or open a PDF with a certificate.