Java Decompiler in Eclipse

Respected Readers,

This post will run through steps for setting up JadClipse in Eclipse. It is a very handy decompiler and can be mighty useful.

Steps:

1) Download JadClipse jar and put it in Eclipse pluigins directory. It can be downloaded from here.

2) Download Jad executable from here.

3) Start Eclipse with clean flag to ensure new plugin is loaded.

4) Specify path of jad.exe in Path to decompiler. Go to Window -> Preferences -> Java -> JadClipse.

5) Make JadClipse Class File Viewer as default viewer for *.class files. Go to Window -> Preferences -> General -> Editors -> File Associations.

That’s all. You are all set to select any class, press F3 and view its source.

Jad can also be used without Eclipse. You just need to add the parent directory of jad.exe in System Environment Path variable. Check by running jad on command prompt.

Invoke jad with -sjava flag to decompile .class file.

Any comments are welcome.

Your’s Truly

About these ads

About Badal Chowdhary

I am a Software Engineer by profession. I love to make friends, watch movies and follow sports. Cricket is my religion and Sachin is my GOD.
This entry was posted in Core Java and tagged , , , , , , , , . Bookmark the permalink.

4 Responses to Java Decompiler in Eclipse

  1. Anonymous says:

    nice article… JAD’s plugin for ecplise makes life easy

  2. uttam kumar says:

    Thanks Badal,

    This article is really very helpful and giving the exact idea how to configure and install JAD..

    Thanks,
    Uttam Kumar

  3. Anonymous says:

    very helpful and informative article

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s