Here's the stuff I ran into:

1) RTFM and install the "Microsoft Visual C++ 2008 SP1 Redistributable Package" mentioned at top of the installation docs. I missed this at first because the Helios instructions are at the end.

2) Close all open editor tabs before opening a class file. Otherwise it's easy to get an outdated editor tab from a previous attempt.

3) Open the class file in the "Java Class File Editor" (not "Java Class File Viewer"). Use "Open With" in the context menu to get the right editor. If pleased with results, make it the default editor in the File Association settings, in Window/Preference General/Editors/File Associations select *.class to open with "Java Class File Editor".

4) This guy recommends installing the Equinox SDK from the Helios update site. I did, but I'm not sure if this was really necessary. Anyone know?

5) If the class files you are trying to view are in an Eclipse Java project, they need to be in the project's build path. Otherwise, an exception ("Not in the build path") will show up in the Eclipse error log, and decompile will fail. I added the class files as a library / class file folder to the build path.

6) Drag/dropping a class file from Windows Explorer or opening it with File/Open File... will not work. In my tests, I gives a "Could not open the editor: The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput')." error. That is probably the wrong editor anyways, see 3).

7) After getting the plugin basically running, some files would still not decompile for an unknown reason. This disappeared after closing all tabs, restarting Helios, and trying again.

Answer from Universalspezialist on Stack Overflow
Top answer
1 of 14
37

Here's the stuff I ran into:

1) RTFM and install the "Microsoft Visual C++ 2008 SP1 Redistributable Package" mentioned at top of the installation docs. I missed this at first because the Helios instructions are at the end.

2) Close all open editor tabs before opening a class file. Otherwise it's easy to get an outdated editor tab from a previous attempt.

3) Open the class file in the "Java Class File Editor" (not "Java Class File Viewer"). Use "Open With" in the context menu to get the right editor. If pleased with results, make it the default editor in the File Association settings, in Window/Preference General/Editors/File Associations select *.class to open with "Java Class File Editor".

4) This guy recommends installing the Equinox SDK from the Helios update site. I did, but I'm not sure if this was really necessary. Anyone know?

5) If the class files you are trying to view are in an Eclipse Java project, they need to be in the project's build path. Otherwise, an exception ("Not in the build path") will show up in the Eclipse error log, and decompile will fail. I added the class files as a library / class file folder to the build path.

6) Drag/dropping a class file from Windows Explorer or opening it with File/Open File... will not work. In my tests, I gives a "Could not open the editor: The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput')." error. That is probably the wrong editor anyways, see 3).

7) After getting the plugin basically running, some files would still not decompile for an unknown reason. This disappeared after closing all tabs, restarting Helios, and trying again.

2 of 14
19

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
🌐
Brainly
brainly.com › computers and technology › high school › how do you install a decompiler in eclipse without using the marketplace?
[FREE] How do you install a decompiler in Eclipse without using the Marketplace? - brainly.com
To install a decompiler in Eclipse without the Marketplace, you can manually input the update site URL in the 'Install New Software...' section under the 'Help' menu. Then, select and install the desired decompiler plugin, followed by restarting ...
🌐
ecd
ecd-plugin.github.io › ecd
Enhanced Class Decompiler | ecd
Click on “Window > Preferences > Java > Decompiler” · Click on “Help > About Eclipse > Installation Details > Installation Software”,
🌐
GitHub
github.com › java-decompiler › jd-eclipse
GitHub - java-decompiler/jd-eclipse: A Java Decompiler Eclipse plugin
> git clone https://github.com/java-decompiler/jd-eclipse.git > cd jd-eclipse > ./gradlew build · generate "build/distributions/jd-eclipse-x.y.z.zip" ... Click on "Next" and "Finish" buttons. A warning dialog windows appear because "org.jd.ide.eclipse.plugin_x.y.z.jar" is not signed. Click on "Install anyway" button. Click on "Window > Preferences > General > Editors > File Associations" "*.class" : Eclipse "Class File Viewer" is selected by default. "*.class without source" : "JD Class File Viewer" is selected by default.
Starred by 726 users
Forked by 224 users
Languages   Java
🌐
Planet of Bits
planetofbits.com › home › how to install java decompiler for eclipse
How to install Java Decompiler for Eclipse
June 26, 2018 - Often there is a need to decompile third party or standard Java classes to understand their functionality. There is no built-in Java decompiler for Eclipse.
🌐
Eclipse Marketplace
marketplace.eclipse.org › free-tagging › decompiler
decompiler | Eclipse Plugins, Bundles and Products - Eclipse Marketplace | Eclipse Foundation
Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client ... Enhanced Class Decompiler integrates CFR, FernFlower, JD, Procyon, Vineflower seamlessly with Eclipse and allows Java developers to debug class files without source ...
🌐
Mkyong
mkyong.com › home › java › java decompiler plugin for eclipse ide
Java decompiler plugin for Eclipse IDE - Mkyong.com
June 29, 2021 - For security warning, clicks Install anyway. Done and restart Eclipse IDE. Below are the steps to configure the class without source to Class Decompiler Viewer.
🌐
Code2care
code2care.org › home page › java › java decompiler eclipse plugin
Java Decompiler Eclipse Plugin | Code2care
1 week ago - Click Install, And Accept terms and Finish. ... You will be asked to Restart Eclipse, once it restart you can use this plugin. Eclipse Java Class Decompiler. Link: https://marketplace.eclipse.org/content/enhanced-class-decompiler?mpc=true&mpc_state=#group-details
Find elsewhere
🌐
Eclipse Marketplace
marketplace.eclipse.org › content › enhanced-class-decompiler
Enhanced Class Decompiler | Eclipse Plugins, Bundles and Products - Eclipse Marketplace | Eclipse Foundation
*Requires Eclipse Marketplace Client ... Add this URL to your Eclipse Installation to reach this solution's update site. ... Learn more... ... Enhanced Class Decompiler integrates CFR, FernFlower, JD, Procyon, Vineflower seamlessly with Eclipse and allows Java developers to debug class files without source code directly.
🌐
Eclipse Marketplace
marketplace.eclipse.org › content › enhanced-class-decompiler › help
How to install Enhanced Class Decompiler | Eclipse Plugins, Bundles and Products - Eclipse Marketplace | Eclipse Foundation
Log in · Manage Cookies · Toggle navigation · Home · Marketplace · Tools · How to install Enhanced Class Decompiler · Step 1. Inside Eclipse select Help -> Install New Software...
🌐
Eclipse Foundation
eclipse.org › community › eclipse_newsletter › 2017 › february › article8.php
The Features of Eclipse Class Decompiler | The Eclipse Foundation
This solution has been removed from Eclipse Marketplace and the Eclipse Foundation strongly suggests that users update to the new Enhanced Class Decompiler. Read the security bulletin. Eclipse Class Decompiler is a plugin for the Eclipse platform. It integrates JD, Jad, FernFlower, CFR, and Procyon seamlessly with the Eclipse IDE. It displays all the Java sources during your debugging process, even if you do not have them all. And you can debug these class files directly without source code.
🌐
SourceForge
sourceforge.net › projects › jadclipse
JadClipse - Eclipse plugin download | SourceForge.net
Download JadClipse - Eclipse plugin for free. Jad Java decompiler plugin for Eclipse IDE.
🌐
Eclipse Marketplace
marketplace.eclipse.org › category › free-tagging › decompile
decompile | Eclipse Plugins, Bundles and Products - Eclipse ...
Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client ... Enhanced Class Decompiler integrates CFR, FernFlower, JD, Procyon, Vineflower seamlessly with Eclipse and allows Java developers to debug class files without source ...
🌐
Java Decompiler
java-decompiler.github.io
Java Decompiler
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions. JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields. JD-Eclipse is a plug-in for the Eclipse platform.
🌐
Webner Blogs
blog.webnersolutions.com › home › eclipse – java decompiler (jd-eclipse)
Eclipse - Java decompiler (jd-eclipse) Webner Blogs - eLearning, Salesforce, Web Development & More
February 8, 2018 - This plugin will decompile all your class files to give you Java source code. 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. ... 1. Open Eclipse and click Help on the main menu. 2. ...
🌐
javaspring
javaspring.net › blog › java-decompiler-eclipse
Java Decompiler in Eclipse: A Comprehensive Guide — javaspring.net
One of the popular Java decompilers for Eclipse is the JD - Eclipse plugin. Here are the steps to install it: Open Eclipse. Go to Help -> Eclipse Marketplace.
🌐
GitHub
github.com › cnfree › Eclipse-Class-Decompiler
GitHub - cnfree/Eclipse-Class-Decompiler: Eclipse Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly
"*.class without source" : "Class Decompiler Viewer" is selected by default. Click on "Window > Preferences > Java > Decompiler" Click on "Help > About Eclipse > Installation Details > Installation Software",
Starred by 306 users
Forked by 89 users
Languages   Java 98.4% | HTML 1.5%