How to install PMD (and CPD)

Windows

Requirements:

  • Java JRE 1.5 or higher (see section below for Java JRE 1.4 support)
  • Winzip or the free 7-zip

Download the latest binary distribution - i.e., pmd-bin-x.xx.zip

Unzip it into any directory, i.e., c:\pmd\

Unix

Requirements:

  • Java JRE 1.5 or higher (see section below for Java JRE 1.4 support)
  • The Unix "zip" utility InfoZip

Download the latest binary distribution - i.e., pmd-bin-x.xx.zip

Unzip it into any directory:

                      [tom@hal tmp]$ unzip -q pmd-bin-5.0.0.zip
                      [tom@hal tmp]$ ls -l
                      total 4640
                      drwxrwxr-x    5 tom      tom          4096 Apr 17 16:38 pmd-5.0.0
                      -rw-rw-r--    1 tom      tom       4733312 Jun  9 15:44 pmd-bin-5.0.0.zip
                      [tom@hal tmp]$
                  

Note that the PMD jar file contains the CPD utility as well.