加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

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

发布时间:2020-12-15 04:20:31 所属栏目:Java 来源:网络整理
导读:我需要在 Eclipse中使用PMD,Findbugs和Checkstyle作为开发项目. Java 6是否足以使用这些工具?或者我需要java 7? 解决方法 一切都应该有用 1.5=Java1.8 FindBugs的 FindBugs requires JRE (or JDK) 1.5.0 or later to run. However,it can analyze programs
我需要在 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/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读