Installing Jadclipse in Eclipse

Today I am going to show you how to install and use Jadclipse. Jadclipse is eclipse plug-in that integrates Jad (Java decompiler) with Eclipse.

  • First you require Jad for decompiling java files. You can find a list of mirrors on this site where you can get JAD for various platforms. Download it and unzip into any folder on your hard drive.
  • Next download the Jadclipse plug-in jar file from here and place the jar file in your eclipse plugins folder
  • Restart your eclipse. If eclipse didn’t recognize the plug-in then launch eclipse with -clean flag.

eclipse -clean

  • Configure the path to the Jad executable in eclipse under Window > Preferences… > Java > JadClipse > Path to Decompiler.
  • Set the full path of the jad executable, e.g. C:\Program Files\Jad\jad.exe
  • Go to Window > Preferences… > General > Editors > File Associations and make sure that the JadClipse Class File Viewer has the default file association for *.class  files.
Jad preferences
Jad preferences in eclipse running under mac.
file association
file association

Now everything is done. If you want to view the source for any class then simply ctrl+click on that class then the source for that class will be showed in your eclipse editor.

Author: Phani Kumar

Developer, selftaught photographer, and a gadget lover, loves learning new things.

29 thoughts on “Installing Jadclipse in Eclipse”

  1. How can I get eclipse to allow me to open the class files? The file association is correct, but it doesn’t work. I have a jar to decompile, what should I do with it?

  2. First you should attach your jar to the projects build path. Then from any java file if you are accessing any class from the jar file then simply ctrl+click on the class name. If the source is attached to the jar eclipse will open the source java file, otherwise JAD will decompile the class file and it will be opened in the editor window.

  3. The new version of DJ Java Decompiler – 3.11 is ready.Version adds annotation support, new search tool "Search for files inside compressed archives" (JAR, ZIP, WAR, EAR, APK), Imports Viewer and Methods Viewer with sorting capabilities. The latest version of JAD is included. The price is just 19.98 US$. Also, you can get it for free.

  4. hi all,

    i have confiured jad, now i need to edit .class file and update it for my requirement.can we do edit .class file and save the changes.if we have any possible way to edit and update as .class file.please let me know.

  5. i am gettign this erro, is it because of exe file Cannot run program “C:\Documents and Settings\m_gupta\Desktop\\jad.exe” (in directory “C:\Documents and Settings\m_gupta\Desktop\\1342035699312”): CreateProcess error=1260, Windows cannot open this program because it has been prevented by a software restriction policy. For more information, open Event Viewer or contact your system administrator

      1. Well I am not sure how to do it, What Windows version you’re on? Check by right clicking the file and see for any security tab and check that you’re user name appears there or unblock it if it say that the file has came from another computer. Try something like that & see if it works.

  6. For Juno.

    I’ve modified the default editor for “.class without source” as follow:

    Go to Window > Preferences… > General > Editors > File Associations and make sure that the JadClipse Class File Viewer has the default file association for “*.class without source” files.

    Warm regards.

  7. Hi,
    I am also facing the same problem as Daniel on my Mac Lion 10.7.4. Any help on this will be appreciated.
    @Daniel, please let me know if you were able to resolve this issue.

  8. It works for all default Classes that we use in the Programming for ex: System, Object, Exception etc…
    But when I try to load some Class from the JAR, it throws as below: Cannot run program “jad” (in directory “C:\.net.sf.jadclipse\1379680857090”): CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(
    at java.lang.Runtime.exec(
    at net.sf.jadclipse.JadDecompiler.decompile(

Leave a Reply

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

You are commenting using your 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