1. Preparatory work
- Download Jad.exe file: Http://www.varaneckas.com/sites/default/files/jad/jad158g.win.zip
- Download Jadeclipse plugin: http://prdownloads.sourceforge.net/jadclipse/net.sf.jadclipse_3.3.0.jar?download
- Jadclipse Official website: http://jadclipse.sourceforge.net/wiki/index.php/Main_Page
Installation
- 1. Extract the Jad.exe to the specified directory. such as: C:\java\jad (Jad.exe to be placed in the JDK installation bin directory. )
- 2. Copy the Jadeclipse plug-in Net.sf.jadclipse_3.3.0.jar to the MyEclipse installation directory \genuitec\common\plugins\ directory.
- 3. In the MyEclipse installation directory dropins/create the Eclipse folder, and then create the features, plugins folder in the Eclipse folder respectively, Net.sf.jadclipse_3.3.0.jar Copy to the features and plugins folders, respectively.
- 4. After restarting MyEclipse, configure the Jadeclipse plugin
- Under the Eclipse window, click Window > Preferences > Java > Jadclipse > Path to Decompiler. (Set the absolute path to Jad, such as C:\java\Jad\jad.exe). Use Eclipse code Formatter (Overrides Jad formatting instructions) option ticked, consistent with formatted code style.
- Under the Eclipse window, click Window > Preferences > Java > Jadclipse > Misc to tick the convert Unicode strings into ANSI strings option to avoid Anti-compilation may occur after the Chinese garbled.
Reference: http://www.cnblogs.com/hzj-/articles/1728705.html
Note the problem:
I have been using the online search method above. Not always. I don't know what the problem is. Later, using Jad.exe, you can decompile the file in cmd. So guess this application should be no problem. Use. The class file is dragged directly into the myeclipse, prompting an error. But it seems to be open with jad.
Then go and check how the file opens. Found there are two. class types. Add the two. class to the Jadclipse class File viewer to open it.
Such as:
Click the file Associations in Window > Preferences to specify that the. class file is opened using the Jadclipse Class files viewer. Set it as the default
I'm here to mention MyEclipse. 2014 there is also a. class without source. Here's a little bit of it.
The shortcomings
1. There is no source comment. Can understand. Jar bag .... It would be nice to add the annotations in the way you use them.
Suggestions:
1. In the case of source code, the use of source packages.
2. When viewing the source code temporarily, this plugin is more convenient.
MyEclipse anti-compile plugin jad installation