Wednesday, August 02, 2006

Jad Decompiler Plug-in for Eclipse

JAD Eclipse is an eclipse plug-in for the JAD Decompiler. The following is a quick description of how to setup JAD Eclipse (assuming you already have eclipse setup).
  1. Download the latest version of JAD decompiler and set modify your path to add JAD_HOME directory.
  2. Download the latest version of JAD Eclipse from the link shown above and extract it to your eclipse plugins directory.
  3. Restart eclipse and configure JAD as follows
    1. In eclipse, go to - Window->Preferences->Java->JadClipse
    2. Set Path to decompiler to "jad" (jad is already in your path).Click Apply.
This is the basic setup for running JAD Eclipse. You will be able to look in to you library classes by simply clicking on the class file, or the class in the type hierarchy. If you are in the J2EE perspective, you can open up you jar files and look into those class files too. It is up to you to decide how you want to go. By the way, JAD eclipse also has a lot of additional customizations available, which can be seen under JAD Eclipse preferences in Eclipse.

4 comments:

  1. Are there a way of making an eclipse plugin that does not need an additional installation? such as install jad executable?

    ReplyDelete
  2. Not that I know of. But you can check http://www.eclipseplugincentral.com/ for any plug-in for eclipse. There isn't any at this time though.

    ReplyDelete
  3. try new pulse from eclipse, for automatic installation of new plugins.

    ReplyDelete
  4. Hi Abhi,

    You have missed out one thing that we have to make the JadClipseclassfile viewer as the default viewer for *.class files under Windows->Preferences->general->Editors->File Associations.

    ReplyDelete

Popular Posts