①首先下载eclipse checkstyle plug-in
②打开myeclipse9,选择菜单myeclipse→myeclipse configuration center→software
③点击右边的add site,然后在add update site里面输入name和url。
url:点击add from archive file,然后选择上面下载的zip包。
④personal sites栏里选择eclipse checkstyle plug-in,然后右键选择add to profile…,software updates available栏里面打上勾,在底下的pending changes栏里点击apply 1 change按钮。
⑤这一步安装插件可能出现"resolving and validating the profile"卡死不动的问题,其实只要断网就可以继续了。
⑥i acknowledge and accept all of the above licenses打勾,点击next。
⑦剩余空间确认,点击update。
⑧耐心等待安装结束…
⑨点击restar now,重启myeclipse。
⑩安装成功确认。点击windows→preferences
eclipse里的话就是help > software updates > find and install,里面操作大同小异。