运用措施
措施1:下载jadclipse_3.3.0.jar,拷贝到eclipse的plugins目录下。
措施2:运用link方式装置,建树E:eclipse3.1pluginsjadclipse3.1.0eclipseplugins的目录妄想,将jadclipse_3.1.0.jar放到plugins目录下面(注:其中E:eclipse3.1plugins为你自己界说的一个特意部署插件的目录)。再在%ECLIPSE_HOME%links目录下面建树一个jadclipse3.1.0.link文件(该文件名随意取,保障后缀为。link就OK)。文件概况内容为:path=E:eclipse3.1pluginsjadclipse3.1.0.启动eclipse,掀开Window->Preferences->Java->JadClipse,假如不找到JadClipse,魔难插件装置的版先天否与你装置的eclipse版本对于应。
我装置的eclipse是:eclipse3.1.2
措施3:启动eclipse,掀开:Window->Preferences->Java->JadClipse.
一、Path to decompiler,这里配置反编译工具jad的全道路名,好比:%JAVA_HOME%binjad.exe.
二、Directory for temporary files,这里配置临时文件道路。
至于Window->Preferences->Java->JadClipse目录下的Debug,Directives,Formatting,Misc目录中的参数配置,就不罗嗦。
启动或者重起eclipse,更正window -> Preferences -> Java -> JadClipse 下的Path to decompiler 如:D:ericjadnt158jad.exe(jadnt158.zip解压后的目录)
Windows -> Perference -> General -> Editors -> File Associations中更正“*.class”默认分割关连的编纂器为“JadClipse Class File Viewer”
措施4:
四、装置实现后,eclipse自动将JadClipse Class File Viewer配置成class文件的缺省掀开方式。假如不默认,可能在Eclipse的Windows——> Perference——>General->Editors->File Associations中更正“*.class”默认分割关连的编纂器为“JadClipse Class File Viewer”。配置实现后,双击*.class文件,eclipse将自动反编译。