Use JD-Eclipse to as your decompile tool in eclipse
JD-Eclipse
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.
JD-Eclipse is free for non-commercial use. This means that JD-Eclipse shall not be included or embedded into commercial software products. Nevertheless, this project may be freely used for personal needs in a commercial or non-commercial environments.
Screenshots
Supported Platforms
- Windows x86
- Linux x86
- Mac OSX x86
Installation
Windows Platform Prerequisites
The native library, included into JD-Eclipse for Windows, has built with Microsoft Visual C++ 2008 Express Edition. Some runtime components of Visual C++ Libraries are required to run the decompiler. You can download and install them from the Microsoft Web site :
Microsoft Visual C++ 2008 SP1 Redistributable Package
Eclipse 3.4 Instructions
Installation of Equinox/p2 plug-in
- From the Help menu in Eclipse, select Software Updates... to open an Software Updates and Add-ons pop-up window (shown below).
- Select the Available Software tab.
- Expand Ganymede tree node.
- Expand Uncategorized tree node.
- Check Equinox p2 Provisioning tree node (shown below), and click the Install... button.
- Click the Finish button.
Installation of JD-Eclipse plug-in
- From the Help menu in Eclipse, select Software Updates... to open an Software Updates and Add-ons pop-up window.
- Select the Available Software tab.
- Add a new remote site to add JD-Eclipse plug-in:
- Click the Add Site... button to open a Add Site pop-up window.
- In the Location text box, type the URL for the JD-Eclipse update site: http://java.decompiler.free.fr/jd-eclipse/update (shown below) and click OK.
- On the Software Updates and Add-ons window, check the JD-Eclipse Plug-in box (shown below), and click the Install... button.
- On the next screen, click the Finish button.
- On the next screen, check the Java Decompiler Eclipse Plug-in certificate box and click the OK button.
Eclipse installs the JD-Eclipse plug-in. To finish the installation process, follow the prompts to shut down and re-start Eclipse.
Eclipse 3.2, 3.3 Instructions
- From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window (shown below).
- On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
- Add a new remote site to add JD-Eclipse plug-in:
- Click the New Remote Site... button to open a New Update Site pop-up window.
- On the New Update Site pop-up window, type JD-Eclipse Update Site in the site Name text box.
- In the URL text box, type the URL for the JD-Eclipse update site: http://java.decompiler.free.fr/jd-eclipse/update (shown below) and click OK.
- Click the Finish button to switch to the Updates window.
- On the Updates window, check the JD-Eclipse Update Site box (shown below), and click the Finish button.
- On the next screen, check the JD-Eclipse Update Site box, and click the Next button.
- Choose the option to accept the terms of the license agreement, and click the Next button.
- Click the Finish button.
- Click the Install All button.
Eclipse installs the JD-Eclipse plug-in. To finish the installation process, follow the prompts to shut down and re-start Eclipse.