3

I need to use PMD, Findbugs and Checkstyle in Eclipse for a Development project. Is Java 6 enough to use these tools? or I need java 7?

3 Answers 3

4

Java 6 is enough (Even 5 will work).

Sign up to request clarification or add additional context in comments.

Comments

3

Everything should work for

1.5>=Java<1.8

Findbugs

FindBugs requires JRE (or JDK) 1.5.0 or later to run. However, it can analyze programs compiled for any version of Java, from 1.0 to 1.7. Some classfiles compiled for Java 1.8 give FindBugs problems, the next major release of FindBugs will handle Java 1.8 classfiles.

http://findbugs.sourceforge.net/

Checkstyle

Added Java 7 support to the grammar. Thanks to Dinesh Bolkensteyn for patch #3403265 http://checkstyle.sourceforge.net/releasenotes.html

PMD

•2011-11-04 PMD 4.3 (download): ◦Add support for Java 7 grammer - thanks to Dinesh Bolkensteyn and SonarSource

http://pmd.sourceforge.net/pmd-4.3/

1 Comment

Everything should work for 1.5>Java<1.8 - Java 1.5 will work, too. Maybe it should be >=. :-)
0

Notice latest PMD requires Java 7/8

running PMD only requires Java 7 (or Java 8 for Apex and the Designer).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.