<?xml version="1.0"?>

<document>
  <properties>
    <author>Tom Copeland</author>
    <title>Installing PMD</title>
  </properties>

  <body>
  <section name="How to install PMD (and CPD)">

      <subsection name="Windows">
          <p>
          Prerequisites:
              <ul>
                  <li>JDK 1.4 or higher</li>
                  <li><a href="http://winzip.com">Winzip</a></li>
              </ul>
          </p>

          <p>Download the latest binary distribution - i.e., pmd-bin-x.xx.zip</p>
          <p>Unzip it into any directory, i.e., c:\pmd\</p>
    </subsection>

      <subsection name="Unix">
          <p>
          Prerequisites:
              <ul>
                  <li>JDK 1.4 or higher</li>
                  <li>The Unix "zip" utility <a href="http://www.info-zip.org/pub/infozip/">InfoZip</a></li>
              </ul>
          </p>

          <p>Download the latest binary distribution - i.e., pmd-bin-x.xx.zip</p>
          <p>Unzip it into any directory:
                  <source>
                      [tom@hal tmp]$ unzip -q pmd-bin-4.2.3.zip
                      [tom@hal tmp]$ ls -l
                      total 4640
                      drwxrwxr-x    5 tom      tom          4096 Apr 17 16:38 pmd-4.2.3
                      -rw-rw-r--    1 tom      tom       4733312 Jun  9 15:44 pmd-bin-4.2.3.zip
                      [tom@hal tmp]$
                  </source>
          </p>
          <p>Note that the PMD jar file contains the <a href="cpd.html">CPD</a> utility as well.</p>
      </subsection>

  </section>
</body>
</document>
