1、打开Eclipse,点击Help-》Install New Software
2、点击add弹出对话框
3、在Location中输入地址Location:http://jd.benow.ca/jd-eclipse/update
4、选中需要安装的组件,安装完毕后重启Eclipse
5、重启之后,在窗口菜单栏点击Widow->Preference->General->Editors->File Associations,将FileType里的*.class和*.class without source的Associated editors下面的Class File Editor设置成default即可