怎么用eclipse Jode Decompiler插件来反编译JAR

怎么用eclipse Jode Decompiler插件来反编译JAR....因为是英语的所以麻烦把方法说一下...具体步骤..比如说..新建一个project ..JAVA的东西应该怎么导入..是直接导入JAR ??还是导入所有的CLASS?当然JAR包括所有的CLALL...CLASS只是一部分..

  安装方法:

  1、点击Eclipse的Help菜单 --> Software Updates --> Find and install...;

  2、然后选择:Search for new features to install,在弹出的对话框中点击“New Remote Site...”菜单;

  3、填入:

  Name: Jode Decomopiler

  4、点击“Finish”;

  5、安装好后可以看到Window => Preferences... => Java => Jode Decompiler选项

卡;

  6、配置:Window => Preferences... => General => Editors => File Associations找到"*.class"在"Associated editors"里面可以看到"Jode class file viewer"选中它再单击Default按钮;

  7、在Eclipse中展开jar文件,双击class文件即可看到反编译之后的源代码。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-05-04
java反编译工具Jode Decompiler的Eclipse插件安装与使用Jode Decompiler的安装:安装非常的简单,在ECLIPSE上的help => Software Updates => Find and Install... => Search for new features to install,单击"New Remote Site..." 在URL栏输入 http://www.technoetic.com/eclipse/update,然后下一步,就可以看到“jode decompiler plugin *.*”了,选上安装就可以了,由于Jode Decompiler是纯Java编写的所以也不需要其他的什么组件来支持了;配置:安装好了可以看到Window => Preferences... => Java => Jode Decompiler选项卡。安装好了再设置一下文件关联就可以了,Window => Preferences... => General => Editors => File Associations找到"*.class"在"Associated editors"里面可以看到"Jode class file viewer"选中它再单击Default按钮就OK了. 使用:现在就可以开始使用了,建立一个project然后引用你的组件,在组件中找到你所要反编译的类文件打开就可以看到反编译后得到的代码了. 注:现在版本只支持3.0或者3.1的,3.2安装以后可能会有错误。
相似回答