Add this URL to your Eclipse Installation to reach this solution's update site.
Enhanced Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly. It also integrates with the eclipse class editor, m2e plugin, supports Javadoc, reference search, library source attaching, byte code view and the syntax of JDK8 lambda expression.
It is based on the popular (delisted) "Eclipse Class Decompiler" Plugin, but members of the open-source community enhanced it by removing all code which might compromise your privacy or security (i.e. everything discussed in https://0x10f8.wordpress.com/2017/08/07/reverse-engineering-an-eclipse-p... and everything else which seemed suspicious) to bring back the great core plugin functionality to all Eclipse users.
Github Project Page: https://ecd-plugin.github.io
(Code-)Reviews and pull requests welcome!All (!) source is in this Git repository: https://github.com/ecd-plugin/ecd
Unsuccessful Installs in the last 7 Days: 99
By adding the following code below to your website you will be able to add an install button for Enhanced Class Decompiler.HTML Code:
Submitted by Pavel Kouzmitcheu on Tue, 2019-11-12 12:20
I'm fighting with the issue for long time, and can't find the solution.
I just did the clean Eclipse 2019-09 installation and added ECD to it. Even though the flag "Set Class Decompiler Viewer as the Default 'Java Class File' content type editor" is set looks it doesn't have any effect.
Yes, I can go to "File Associations" and set Decompiler Viewer for both "*.class" and "*.class without the source" file types, and it works but only temporary till the next restart.
After I restart Eclipse it sets the OOTB Class File Viewer for both *.class types.
Any idea how to fix it? I tried all possible combinations, created new workspaces and etc. - nothing helped. the same issue happened with the older Eclipse versions as well
It is annoying to manually associate types each time I restarted Eclipse.
Submitted by Pavel Zabelin on Mon, 2019-11-11 04:20
I've installed it today, all good.
Submitted by Jacopo Torrini on Fri, 2019-09-20 07:06
A fresh install of 2019 09 but the context menu entry for opening any decompiler is disabled for any .class file.
Enabling Decompiler on main menu let open a .clas file with a decompiler, but the editor crashes with an error.
Submitted by Pavel Kouzmitcheu on Thu, 2019-10-31 16:14
It works fine with Eclipse 2019 09. Decompiler version: 188.8.131.52811062102 .Eclipse: Version: 2019-09 R (4.13.0) Build id: 20190917-1200. I'm using FernFlower decompiler, but I'm sure others will work as well.
The only problem I can't solve is to permanently set "Class Decompiler Viewer" for *.class associations. After I set it the decompiler works fine, but after the restart Eclipse restores "Class File Viewer" as default association for *.class. I tried multiple different steps to update the class default association, but after each start Eclipse restores it to the "Class File Viewer", and I don't know how to prevent it from doing it. Any advice will be appreciated (note in decompiler settings I have the Startup flag checked to set the Decompiler as default viewer - it doesn't help)
Submitted by Axel Uhl on Tue, 2019-11-05 09:26
I have the same combination of versions here regarding Eclipse (for committers) and the ECD plugin. While I can see the ECD settings in the overall Preferences dialog (Window / Preferences), I cannot see the menu items for displaying decompiled class files or attaching sources fetched online. The plugin has turned useless for me with 2019-09. Any advice?
Submitted by Jean-Philippe Lafleur on Mon, 2019-07-15 04:38
This tool was great until I moved to Eclipse 2019-06. Now I get these 2 errors, which are proving a real pain in working with libraries :(
The public type <type> must be defined in its own file ( less frequent )
Typical files generated:
Submitted by Ilya Basin on Sat, 2019-06-29 05:14
In general, this plugin is satisfying, and the feature to automatically show Maven sources instead of decompiling is great. However there's one annoying thing about it: the plugin actually saves the attached sources path in the native Eclipse project configuration. This is bad for version control, please don't do that
Instead, supply the source code through the same channel the plugin supplies the decompilation result. Again, the feature is great and I don't want to disable it.
Submitted by Jacob Pollard on Mon, 2019-02-18 23:56
This works great for opening and reading .class files! But is there any way to use Call Hierarchy on functions in .class files? When I try, it can never find anything.
Submitted by Alexander Burov on Sun, 2019-01-20 19:40
Good plugin. Very helpfull.
I have tried to install it manually by /dropins folder and many other ways without url. If somebody know what need to download for manually installation - pls comment here.
Submitted by Sachin Lohar on Fri, 2018-11-30 16:31
Does this work on 2018-09 (4.9)? I tried all instructions and install/restart multiple times. It does not work. It used to work on neon.
Submitted by Sachin Lohar on Mon, 2018-12-03 14:51
Ignore this. All I had to do was make sure there I configure default editor for .class files.
Submitted by Pavel Kouzmitcheu on Thu, 2019-10-31 16:16
Does this setting remain for you after the restart? I tried different versions of Eclipse, and each restart it restores the default association for .class to Class File Viewer
Submitted by Matthias Fuchs on Mon, 2018-11-05 14:29
Will the "cannot set breakpoints" bug fixed someday?? It broken for a long time now .. :-\
Submitted by Pascal Bihler on Wed, 2018-11-07 00:30
Please try version 3.1.1, where this problem is fixed.
Submitted by Shourjya Dasgupta on Fri, 2018-08-17 14:32
Eclipse version: Version: Oxygen.2 Release (4.7.2)
OS: Mac OS High Sierra(10.13.6 (17G65))
I just read through the interesting blog about how this plugin came into picture and I am excited to use this plugin on my eclipse. But somehow it doesn't decompile. It was installed without a problem but it doesn't show up under Java in Preferences(as in Screenshot).
What is wrong here?
Submitted by Warren Goldman on Tue, 2018-07-10 18:47
created java project, added jar file to project, navigate to .class file
does not decompile (oxygen)
Submitted by Mike Ice on Mon, 2018-06-18 23:39
Need help! Thanks in advance.
I failed to install onto Eclipse JEE Mars, with error message below:
Unable to read repository at ecd-plugin.github.io/update/content.xml.
Received fatal alert: protocol_version
Submitted by Slavi Vazov on Fri, 2018-06-08 16:43
This tool really works. I manage to save an old project (written on java 8). Thanks! It read also lambda expressions without problem.
By the way I use Oxygen.3a Release (4.7.3a).
Submitted by Manikandan M on Wed, 2018-04-18 05:28
Class decompiler not working. Could anyone help on this.
Submitted by Vasil Panushev on Thu, 2017-11-23 04:58
Works fine when opening a .class file from the project tree.
But when I'm debugging an application and reach a file for which I don't have a source, the decompiler editor is not opened. Instead I see a "Source not found." editor with "Edit Source Lookup Path.." button.
.class and .class without source are associated with the Class Decompiler Viewer as suggested in the documentation.
Any setting that I missed.
Eclipse Neon.3 Release (4.6.3)
Submitted by Paul-Gabriel üller on Mon, 2018-01-22 09:14
I have exactly the same issue :(
Enhanced Class Decompiler 3.0.0 with Eclipse Oxygen.
Have not found a solution yet, might have to look at different deompile-plugins...
Submitted by Paul-Gabriel üller on Tue, 2018-01-23 09:34
I have found a solution for my problem:
Submitted by Lwando Mjila on Wed, 2017-11-22 04:19
Everytime I try to download the plugin via MarketPlace, I get the following error:
Unable to read repository at url: ecd-plugin.github.io/update/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I am using Eclipse Oxygen 1a (4.7.1a), please assist.....
Submitted by Simon McClenahan on Wed, 2017-12-06 17:04
I cannot reach the repository either with the same error message. Navigating with a browser takes me to a 403 page.
Submitted by Pascal Bihler on Fri, 2018-02-02 15:41
This is a misleading error message from eclipse and is usually triggered by a errornous network configuration - in fact, in can be any network problem.
Did you check if you need a proxy configured in Eclipse? If the problem persist, navigate manually to https://ecd-plugin.github.io/update/ download the jar files and place them in the features and plugins folde rof your eclipse installation.
Submitted by ChongMeng Eng on Wed, 2017-10-04 23:09
There is no problem with the ECD installation. However the option "Window | Preferences | Jave | Decompiler" is missing / not shown; and jar decompilation is not working
Submitted by Pascal Bihler on Mon, 2017-10-09 11:50
Thank you for your feedback. Did you try to install ECD on a clean Eclipse, and are the ECD features listed in the About dialog?
To simplify the development process, please report bugs at https://github.com/ecd-plugin/ecd/issues
Submitted by Pascal Bihler on Mon, 2017-10-16 02:55
As stated on https://github.com/ecd-plugin/ecd/issues/17, the problem was fixed by removing any old EclipseCD leftovers and reinstalling the extension.