view class source code with JAD plugin in Eclipse

The default class viewer doesn't decompile the class file so you cannot open and check the source code, you may down third part App to do that while it is not convenient for debugging. The JAD plugin unable you open it directly in Eclipse.

you just follow below three stages to set the JAD plugin in Eclipse.

  • First, down plugin. the JAD plugin consists of two files, JAD.exe and net.sf.jadclipse_3.3.0.jar and you can download them from http://download.csdn.net/detail/sushengmiyan/6885693 (thx contribution of this blog. http://blog.csdn.net/sushengmiyan/article/details/18798473 )
  • Then put JAD.exe to any folder,  of cause \Java\jdk1.xx\jre\bin\ is recommended. put the  net.sf.jadclipse_3.3.0.jar to your Eclipse plugin folder.

At last, you need to do some setting in window->preferences. you need to restart your Eclipse first.

General->Editors->File Associations.   add "JadClipse Class File Viewer" for both file type *.class and *.class without source, set as default at the same time.

Java->JadClipse. set the "Path to decompiler" path with the JAD.exe you have set precedently.


OK, now enjoy to view the source of class file directly in Eclipse.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值