Batik requires a Java 1.6 or above compatible runtime environment.
To enable other scripting languages support, you will only need to install the correct jar files in
lib directory of Batik and recompile your distribution.
For Python, you need to download Jython distribution at http://www.jython.org/. Then you put the
jython.jarfile in the Batik
For Tcl, you need to download Jacl & TclBlend distribution at http://dev.scriptics.com/software/java/. Then you put the
tcljava.jarfiles in the Batik
Conversely, you can remove the
js.jar of the Batik
Jar file dependency graph¶
The Batik distribution comes with many jar files. Not all of them are needed in every case (although the provided applications tend to use most of them). The following is a diagram showing the dependencies between the various jar files in the Batik binary distribution.
batik package references are short for
It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures.
The PGP signatures can be verified using PGP or GPG. First download the KEYS as well as the
asc signature file for the particular distribution you choose. Make sure you get these files from the main distribution directory, rather than from a mirror. Then verify the signatures using:
pgpk -a KEYS pgpv batik-[bin|src]-1.8.zip.asc
pgp -ka KEYS pgp batik-[bin|src]-1.8.zip.asc
gpg --import KEYS pgp batik-[bin|src]-1.8.zip.asc
gpg --import KEYS gpg --verify batik-[bin|src]-1.8.zip.asc
Alternatively, you can verify the MD5 signature on the files. A UNIX program called
md5sum is included in many UNIX distributions. It is also available as part of GNU Textutils. Windows users can get binary md5 programs from here, here, or here.
We recommend using PGP signatures as they can provide a much higher level of assurance compared with MD5.