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

Click here to view more 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

  1. From the Help menu in Eclipse, select Software Updates... to open an Software Updates and Add-ons pop-up window (shown below).



  2. Select the Available Software tab.
  3. Expand Ganymede tree node.
  4. Expand Uncategorized tree node.
  5. Check Equinox p2 Provisioning tree node (shown below), and click the Install... button.



  6. Click the Finish button.

Installation of JD-Eclipse plug-in

  1. From the Help menu in Eclipse, select Software Updates... to open an Software Updates and Add-ons pop-up window.
  2. Select the Available Software tab.
  3. Add a new remote site to add JD-Eclipse plug-in:
    1. Click the Add Site... button to open a Add Site pop-up window.
    2. 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.



  4. On the Software Updates and Add-ons window, check the JD-Eclipse Plug-in box (shown below), and click the Install... button.



  5. On the next screen, click the Finish button.
  6. 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

  1. From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window (shown below).



  2. On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
  3. Add a new remote site to add JD-Eclipse plug-in:
    1. Click the New Remote Site... button to open a New Update Site pop-up window.
    2. On the New Update Site pop-up window, type JD-Eclipse Update Site in the site Name text box.
    3. 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.



    4. Click the Finish button to switch to the Updates window.
  4. On the Updates window, check the JD-Eclipse Update Site box (shown below), and click the Finish button.



  5. On the next screen, check the JD-Eclipse Update Site box, and click the Next button.
  6. Choose the option to accept the terms of the license agreement, and click the Next button.
  7. Click the Finish button.
  8. 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.

 

 

转载于:https://www.cnblogs.com/kungfupanda/archive/2009/07/20/1524641.html

你可能感兴趣的:(Use JD-Eclipse to as your decompile tool in eclipse)