Saturday, January 7, 2012

Integrating Eclipse/ IBM RAD and Java Decompiler(JAD)

  1. Download JAD from http://www.varaneckas.com/jad and unzip the file to C:\jad folder.
  2. Download jadclipse jar file from http://sourceforge.net/projects/jadclipse/
  3. Copy the  jadclipse jar file to the eclipse plugins folder
    Eg : If eclipse home dir is C:\eclipse then copy jar file to C:\eclipse\plugins.
    For RAD, eclipse home dir will be something like C:\Program Files(x86)\IBM\SDP and copy th jar file to C:\Program Files(x86)\IBM\SDP\plugins
  4. Restart Eclipse/RAD.
  5. Open Eclipse/RAD. Navigate to Window > Preferences > General > Editors > File Associations -> Associate *.class file type to JadClipse Class File Viewer and make JadClipse Class File Viewer as default.(If you are not able to see the JadClipse Class File Viewer under Associated Editors, then restart eclipse with clean option to pickup the plugin)
  6.  Window > Preferences > Java > JadClipse - > Set Path to Decompiler to C:\jad\jad.exe.
  7. Window > Preferences > Java > JadClipse > Debug - > Check Output original line numbers as comments.
  8. Restart Eclipse/RAD.

6 comments: