# Download Batik

There are several ways you can obtain Batik's binary or sources:

- Download a distribution
- Download a snapshot
- Get the source from the Subversion repository

## Download a distribution

Every Batik release provides three distributions: a binary distribution (named `batik-version.zip`), a source distribution (named `batik-src-version,zip`) and a documentation distribution (named `batik-docs-version.zip`). These distributions are provided as ZIP files on the Apache mirrors. Note that it is good practice to verify the integrity of the distribution files.

After downloading the distribution, consult the installation notes for details on how to install.

### Current official release (closest mirror site selected automatically)

You are currently using [preferred]. If you encounter a problem with this mirror, then please select another. If all mirrors are failing, there are backup mirrors at the end of the list. See status of mirrors.

Other mirrors:

The current release is Apache Batik 1.7 (see the release change log).

Binary distribution for JRE 1.4+
  batik-1.7.zip [PGP] [MD5]

Binary distribution for JRE 1.3
  batik-1.7-jre13.zip [PGP] [MD5]

Source distribution
  batik-src-1.7.zip [PGP] [MD5]

Documentation distribution
  batik-docs-1.7.zip [PGP] [MD5]

Squiggle Mac OS X disk image
  Squiggle-1.7.dmg [PGP] [MD5]

Older releases are available from the Apache archives. However, we strongly recommend using the current release of Batik.

As mentioned in the installation notes, it is important that you verify the release that you download, using either the MD5 hash or verifying the PGP signature against the PGP key of the developer who signed the release.

## Current development snapshot

Nightly snapshots of the source tree are available from the Apache build server. These snapshots represent the current state of development and may or may not be as stable as releases. There are two distributions provided: a complete copy of the Subversion repository trunk (named `batik-svn-date.zip`), including Batik's regression testing utility and reference images; and a snapshot of the aforementioned source code without any of the testing facilities (named `batik-src-date.zip`).

## Subversion repository

To fetch the latest Subversion repository trunk, just run the following command:

    svn checkout http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/

You can also browse the Subversion repository using ViewVC at http://svn.apache.org/viewvc/xmlgraphics/batik/.