Decompiler for Eclipse and MuleSoft Anypoint Studio

Decompilers are one of the most important tool for developers. Many Java developers use Eclipse IDE and many MuleSoft developers use Anypoint Studio (just another flavor of Eclipse) for their development work. We can easy configure decompiler for these IDEs. Here are the simple steps (for both IDEs):

  1. Download update site archive from here.
  2. Unzip the archive and note the location/path
  3. Open Eclipse or MuleSoft Anypoint Studio
  4. Click on “Help”
  5. Select “Install New Software…”
  6. Click on “Add…” button
  7. On the pop-up, type name as “Java Decompiler” (or any other name)
  8. Click on “Local…” button
  9. Select the unzip location (Step 2)
  10. Click “OK” button to close the pop-up
  11. Select checkbox: Java Decompiler Eclipse Plug-in
  12. Click on “Next”
  13. Select “Yes” for the agreement
  14. Select “Finish”
  15. Restart Eclipse or MuleSoft Anypoint Studio

Now, Eclipse or MuleSoft Anypoint Studio can decompile Java .class files if sources are not available. If you want to use standalone Java Decompiler GUI tool, then you can download it from here. If you are using GUI tool, then you will have to select .jar or .class file to decompile.

Reference: http://jd.benow.ca/

Note that, this decompiler does decompile classes which has lambda expressions.

Leave a Reply

Your email address will not be published. Required fields are marked *