简体   繁体   English

适用于PMD,Findbugs和Checkstyle的Java版本

[英]Java Version for PMD, Findbugs and Checkstyle

I need to use PMD, Findbugs and Checkstyle in Eclipse for a Development project. 我需要在Eclipse中使用PMD,Findbugs和Checkstyle作为开发项目。 Is Java 6 enough to use these tools? Java 6是否足以使用这些工具? or I need java 7? 或者我需要java 7?

Java 6就足够了(Even甚至可以工作)。

Everything should work for 一切都应该有用

1.5>=Java<1.8

Findbugs FindBugs的

FindBugs requires JRE (or JDK) 1.5.0 or later to run. FindBugs需要运行JRE(或JDK)1.5.0或更高版本。 However, it can analyze programs compiled for any version of Java, from 1.0 to 1.7. 但是,它可以分析为任何版本的Java编译的程序,从1.0到1.7。 Some classfiles compiled for Java 1.8 give FindBugs problems, the next major release of FindBugs will handle Java 1.8 classfiles. 为Java 1.8编译的一些类文件会给FindBugs带来问题,FindBugs的下一个主要版本将处理Java 1.8类文件。

http://findbugs.sourceforge.net/ http://findbugs.sourceforge.net/

Checkstyle Checkstyle的

Added Java 7 support to the grammar. 为语法添加了Java 7支持。 Thanks to Dinesh Bolkensteyn for patch #3403265 http://checkstyle.sourceforge.net/releasenotes.html 感谢Dinesh Bolkensteyn补丁#3403265 http://checkstyle.sourceforge.net/releasenotes.html

PMD PMD

•2011-11-04 PMD 4.3 (download): ◦Add support for Java 7 grammer - thanks to Dinesh Bolkensteyn and SonarSource •2011-11-04 PMD 4.3(下载):◦添加对Java 7语法的支持 - 感谢Dinesh Bolkensteyn和SonarSource

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

Notice latest PMD requires Java 7/8 注意最新的PMD需要Java 7/8

running PMD only requires Java 7 (or Java 8 for Apex and the Designer). 运行PMD只需要Java 7(或Apex和Designer的Java 8)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM