PMD and checkstyle in windows 10

Asked

Viewed 90 times

-1

How and which link to install PMD and Checkstyle in windows 10. I only see Linux tutor .

  • 1

    Remember that Java is a platform-independent language? So, the link to download the PMD and the checkstyle are the same on any operating system.

1 answer

1

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

The link to download Checkstyle 8.3: http://central.maven.org/maven2/com/puppycrawl/tools/checkstyle/8.3/checkstyle-8.3.jar

To include it in your system with Maven/Gradle/Ivy/etc: https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle/8.3

The link to download PMD 5.8.1: https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.8.1/pmd-bin-5.8.1.zip

To include it in your system with Maven/Gradle/Ivy/etc: https://mvnrepository.com/artifact/net.sourceforge.pmd/pmd/5.8.1

The PMD until it can give a little work to install in Windows. See on the official page:

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

Translating:

  1. Download the pmd-bin-5.8.1.zip
  2. Extract the zip file, for example, to C:\pmd-bin-5.8.1
  3. Add the folder C:\pmd-bin-5.8.1\bin to PATH in one of these ways
    1. Permanently: Using the system properties dialog box > Environment variables > Add to PATH variable
    2. Temporarily, on the command line: SET PATH=C:\pmd-bin-5.8.1;%PATH%
  4. Run on command line: pmd.bat -d c:\src -R java-basic -f text Download the existing rules.
  • I want to download the PMD directly on the eclipse link using SO win 10 automatically.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.