原文地址:https://blog.csdn.net/yh_zeng2/article/details/75949310
Java Decompiler是Java语言的反编译工具,具体介绍见博客Java Decompiler(Java反编译工具)或者是看官网介绍,官网地址为http://jd.benow.ca/
1、准备工作,非winows用户可跳过
windows用户要先安装Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) 和Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
官网的解释如下:
For Windows users, you might need to install the prerequisites.
The native library, included into JD-Eclipse for Windows, has been built with Microsoft Visual C++ 2008 Express Edition. Some runtime components of Visual C++ Libraries are required to run the decompiler. If they are missing you can download and install them from the Microsoft Web site :
- Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
- Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
2、各版本兼容情况
目前,最新的版本为0.6,已经有7个版本,各版本Java Decompiler的兼容情况如下
插件版本 | 兼容的Intellij Idea开发平台版本 |
0.6 | 133.696+ |
0.5 | 107.587—133.696 |
0.4.1 | 107.587+ |
0.4 | 107.587+ |
0.3 | 107.587+ |
0.2 | 107.587+ |
0.1 | 107.587+ |
3、下载插件
插件下载地址:http://jd.benow.ca/,由于本人使用的是Intellij Idea12.0.4所以下载jd-intellij-0.5.zip,参照上述的版本兼容情况,务必根据实际情况下载对应版本的插件!
最终,跳转到页面https://plugins.jetbrains.com/plugin/7100-java-decompiler-intellij-plugin
4、安装插件
1)打开File——》Settings...——》Plugins 窗口
2)选择Install plugin from disk...
5、如何卸载Java Decompiler插件
File——》Settings...——》Plugins ——》右键Java Decompiler IntelliJ Plugin——》选择Uninstall——》【OK】——》重启Intellij Idea
如下图