5th Cross

my writings about java, eclipse and musings about technology

Installing Jadclipse in Eclipse

with 29 comments

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.

Written by Phani Kumar

May 20, 2009 at 11:58 am

Posted in eclipse, ide, java, plug-in

Tagged with , , ,

29 Responses

Subscribe to comments with RSS.

  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?


    May 20, 2009 at 8:20 pm

  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.


    May 21, 2009 at 4:18 am

  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.


    July 1, 2009 at 1:06 pm

  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.


    November 22, 2010 at 7:31 pm

  5. Fantastic! Thank you very much


    February 10, 2011 at 7:29 pm

  6. Spectacular!


    October 13, 2011 at 3:00 pm

  7. Thank you so much…….Spectacular….!!!!
    Very nice explanation….!!!!

    Mandar Mulay

    February 3, 2012 at 3:13 pm

  8. Be sure to make the jadclipse class file viewer the default to view the .class files in file associations


    May 1, 2012 at 10:18 pm

  9. Really helpful… Thank you very much !!


    June 3, 2012 at 10:40 am

  10. i am gettign this erro, is it because of exe file

    java.io.IOException: Cannot run program “C:\Documents and Settings\m_gupta\Desktop\jad158g.win\jad.exe” (in directory “C:\Documents and Settings\m_gupta\Desktop\jad158g.win\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


    July 12, 2012 at 1:14 am

    • @jiten make sure you have permissions to execute the jad.exe file

      Phani Kumar

      July 13, 2012 at 9:35 am

      • if you can guide, how can i check if i have permissions or not to execute .exe files


        July 13, 2012 at 2:39 pm

      • 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.

        Phani Kumar

        July 16, 2012 at 5:05 pm

  11. Great article, thanks.


    August 22, 2012 at 2:14 am

  12. 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.

    Manuel Loayza

    November 22, 2012 at 3:28 am

  13. Thanks a lot! I love this log.

    super katalogi

    April 10, 2013 at 9:13 am

  14. 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.


    July 5, 2013 at 9:50 am

    • @Unni @Daniel

      Try this plugin http://marketplace.eclipse.org/content/jadclipse-eclipse-4x#.UkVmeWTk9fY
      See if this works for you on the mac.

      Using this plugin you don’t need to set the Jad path, as the author of the plugin claims that its integrated into the plugin itself, so no need of downloading and setting the path for Jad.
      If you want to change the plugin settings check under preferences -> Java -> Decompiler

      Regards, :)

      Phani Kumar

      September 27, 2013 at 4:40 pm

  15. Thank you soooooooooooooooooooooo much.
    I took a lot of time of my life to solve this question and then I discover your post.


    September 19, 2013 at 12:11 am

  16. 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:

    java.io.IOException: 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(ProcessBuilder.java:460)
    at java.lang.Runtime.exec(Runtime.java:593)
    at net.sf.jadclipse.JadDecompiler.decompile(JadDecompiler.java:160)


    September 20, 2013 at 6:23 pm

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


Get every new post delivered to your Inbox.

%d bloggers like this: