1.離線安裝
1.下載jadclipse的jar包,下載地址:https://sourceforge.net/projects/jadclipse/?source=typ_redirect
2.將下載的jar包解壓后拷貝到eclipse目錄下的plugins目錄下
3.刪除eclipse的configuration目錄下org.eclipse.update文件
4.重啟eclipse目錄
5.下載jad可執行文件 ,下載地址 http://varaneckas.com/jad (選擇第一個,windows平台上的可執行文件)
6.解壓下載的壓縮包,獲取exe文件
7.打開Eclipse,prefrence,設置jad的可執行文件路徑以及生成的臨時文件路徑
8.general-editors 路徑下,把*.class設置成默認打開方式
9.設置*.class widthout source文件類型打開方式
10.點擊源代碼中調用的類,進入.class文件
2.在線安裝
資料來源:http://jingyan.baidu.com/article/fc07f9896da51512ffe5198a.html
1.選擇help-install new software
2.點擊add, 輸入如下信息:
Name:jd-eclipse_update_site
Location:http://jd.benow.ca/jd-eclipse/update
3.勾選新出現的項目,點擊next
4.去掉默認勾選上的最后一項:訪問更新站點
5.按提示安裝,重啟
6.重啟之后,在窗口菜單欄點擊Widow->Preference->General->Editors->File Associations,將FileType里的.class和.class without source的Associated editors下面的Class File Editor設置成default即可。
如果*.class 和 *.class without source都不存在,都先add進來