How to get Java Decompiler / JD / JD-Eclipse running in Eclipse Helios

前端 未结 14 2669
忘掉有多难
忘掉有多难 2020-12-04 11:10

Java Decompiler (JD) is generally recommended as a good, well, Java Decompiler. JD-Eclipse is the Eclipse plugin for JD.

I had problems on several different machines

相关标签:
14条回答
  • 2020-12-04 11:26

    I am using Eclipse 3.7 Indigo and Windows 7 64-bit:

    What I did was to install the Microsoft Visual C++ 2008 SP1 Redistributable Package as suggested by the site and reminded by @Universalspezialist.

    Then install the plugin as stated in the site: http://java.decompiler.free.fr/?q=jdeclipse

    Go to preference, then find "File Associations" Click on the *.class, then set the "class File Editor" as default.

    Restart Eclipse perhaps? (I did this, but I'm not sure if it's necessary or not)

    0 讨论(0)
  • 2020-12-04 11:27

    if you need to decompile standalone jar try JD-GUI by the same autor (of JD-Eclipse). It is a standalone application (does not need eclipse). It can open both *.class and *.jar files. Interesting enough it needs .Net installed (as do JD-Eclipse indeed), but otherwise works like a charm.

    Find it here:

    http://jd.benow.ca/

    Regards,

    0 讨论(0)
  • 2020-12-04 11:27

    Steps to add the Java Decompiler in Eclipse :

    1. Open Eclipse IDE.
    2. Click Help->Eclipse Marketplace Wizard
    3. In Search tab find the JD (JD is keyword to get the Eclipse Class Decompiler)
    4. Select the Eclipse Class Decompiler
    5. Click on Install.
    6. Restart Eclipse and check
    0 讨论(0)
  • 2020-12-04 11:30

    Its should work for all version of eclipse even in Spring tool suit(STS). Here is the steps

    Go to the URl Follow The link to download or click the bellow link to direct download Click Here to download

    Download JD-Eclipse. Download and unzip the JD-Eclipse Update Site,

    Launch Eclipse,

    Click on "Help > Install New Software...",

    Click on button "Add..." to add an new repository,

    Enter "JD-Eclipse Update Site" and select the local site directory,

    Select extracted folder and give any name. I have given JDA. and click ok.

    Check "Java Decompiler Eclipse Plug-in",

    Next, next, next... and restart Eclipse.

    0 讨论(0)
  • 2020-12-04 11:31

    JAD Decomplier plug-in for Eclipse version 3.x and 4.x.

    update site: http://feeling.sourceforge.net/update

    Steps:

    1. Open Eclipse IDE.
    2. Click Help->Install New software
    3. Paste above URL and give name as JAD.
    4. Select the Eclipse Class Decompiler
    5. Click on Next and accept agreements
    6. Install it.
    7. Restart Eclipse and check now.
    0 讨论(0)
  • 2020-12-04 11:32

    To Make it work in Eclipse Juno - I had to do some additional steps.

    In General -> Editors -> File Association

    1. Select "*.class" and mark "Class File Editor" as default
    2. Select "*.class without source" -> Add -> "Class File Editor" -> Make it as default
    3. Restart eclipse
    0 讨论(0)
提交回复
热议问题