PMD and checkstyle on windows 10 [closed]

-1

How and what link to install PMD and Checkstyle on windows 10. I just see linux tutor.

    
asked by anonymous 27.10.2017 / 20:16

1 answer

1

You may have heard that Java is platform-independent language. So the link to download PMD and checkstyle are the same on any operating system.

The link to download Checkstyle 8.3: link

To include it on your system with Maven / Gradle / Ivy / etc: link

The link to download PMD 5.8.1: link

To include it in your system with Maven / Gradle / Ivy / etc: link

The PMD can even give you a hard time installing on Windows. See the official page :

  
  • Download pmd-bin-5.8.1. zip
  •   
  • Extract the zip-archive, e.g. to C:\pmd-bin-5.8.1
  •   
  • Add folder C:\pmd-bin-5.8.1\bin to PATH, either      
  • Permanently: Using System Properties dialog > Environment variables > Append to variable PATH
  •   
  • Temporarily, at command line: SET PATH=C:\pmd-bin-5.8.1;%PATH%
  •      
  • Execute at command line: pmd.bat -d c:\src -R java-basic -f text   Checkout the existing rules .
  •   

    Translating:

      
  • Download the pmd-bin-5.8.1 .zip
  •   
  • Extract the zip file, for example, to C:\pmd-bin-5.8.1
  •   
  • Add the C:\pmd-bin-5.8.1\bin folder to the PATH in one of these ways      
  • Permanently: Using the system properties dialog box > Environment Variables > Add to PATH variable
  •   
  • Temporarily, at the command line: SET PATH=C:\pmd-bin-5.8.1;%PATH%
  •      
  • Run from the command line: pmd.bat -d c:\src -R java-basic -f text   Download existing rules .
  •   
        
    27.10.2017 / 20:27