微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

我需要在 Eclipse中使用PMD,Findbugs和Checkstyle作为开发项目. Java 6是否足以使用这些工具?或者我需要java 7?

解决方法

一切都应该有用

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
07001

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/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐