Menu

Jadclipse works with Eclipse 3.0

Help
loomax
2004-07-20
2013-04-15
  • loomax

    loomax - 2004-07-20

    On my system this plugin works with Eclipse 3.0

    System Windows 2000
    jad 1.5.8e

    Please report any other running configurations or add a new thread if it does'nt work

     
    • Blake Meike

      Blake Meike - 2004-08-09

      I'm running Eclipse 3.0 on RH-7.3.  jad 1.5.8e works fine when run from the command line, but not from eclipse.  Oddly enough, I don't see error messages in .metadata/.log either.

      Blake Meike

       
    • Franck Schmidlin

      Ok, what am I doing wrong?

      I am running Eclipse v3.0.0 (Build id: 200406251208) on a win2000 machine.

      Eclipse is installed on my D:\ drive (I have read comments about this being a potential problem, but without a proper explanation why...)

      I have jad v1.5.8e installed in D:\JAD_1_5_8e (i.e. the full path to the exe is D:\JAD_1_5_8e\jad.exe)

      I have jadClipse v2.0.6 (Initially the official download 2003-04-13 07:00, but I am now using the M9 working zip 2004-05-31 19:58).

      Within eclipse preferences -> java -> jadClipse I have:
      path to decompiler set to D:\JAD_1_5_8e\jad
      dir to temp files set to D:\JAD_1_5_8e\tmp

      Within eclipse preferences -> workbench -> file associations I have:
      *.class JadClipse Class File Viewer (default) and Class File Viewer

      When I select a class file for viewing, I get the class file editor, and a JadClipse button on the tool bar, as well as a JadClipse menu option.

      However, selecting either the button, or the menu option does not seem to do anything!!!

      What am I missing?

      PS: where is .metadata/.log supposed to be?

       
    • Franck Schmidlin

      Addendum : I have located the log, but it doesn't contain anything from JadClipse

       
    • loomax

      loomax - 2004-08-30

      Hi Frank,

      I don't know why it's not working on your machine -- but sometimes I also had installation problems.

      it helped for me delete or rename the eclipse/configuration directory -- it will be recreated with a restart of eclipse

      Please report whether this helped -- JadClipse does a great job for me

       
      • Franck Schmidlin

        Actually, it does sort of work now (without deleting the configuration folder - would prefer not to loose the myriad personal settings I have- but I will do a backup and try it out just to see), but only in some situation.

        In fact it only work if I have a stack trace somewhere that involve a class without a source. Clicking on the stack hyperlink does call JAD and present me with a decompiled class rather than the 'no source found' window.

        However, clicking on a .class file doesn't work, nor can I broswe type hierarchies in the way I would like to, and I have yet to be able to decompile on the fly while debugging. These actions do not seem to trigger jadclipse, and all I get is the "source not found window".

        Any suggestion? Or at least a list of things I am supposed to be able to do?

        My application uses loads of 3rd party libraries that are badly supported by their owners, and decompiling them to find the bugs is a daily routine.

        All help apreciated.

         
        • loomax

          loomax - 2004-09-08

          Did you set jadclipse as the Standard Editor for class files in the preferences of eclipse ?

          If Not goto

          Preferences->FileAssociations->*.class and select jadclipse

          Please report whether this was the problem

           
          • Franck Schmidlin

            yes, as mentioned in https://sourceforge.net/forum/message.php?msg_id=2718804, I have set jadeclipse to be the default editor for .class

             
    • hasko

      hasko - 2004-09-03

      FYI: It seems that Jadclipse does not work with the latest Eclipse stable build, 3.1 M1.

       
      • loomax

        loomax - 2004-09-08

        It works on my machine -- I got Eclipse 3.1 200408122000 --
        I don't think that there is a major difference to M1

        Die you ever get it running ?

         
        • Sven Schliesing

          Sven Schliesing - 2004-09-16

          same here. Does not work with 3.1M1

           
          • Sven Schliesing

            Sven Schliesing - 2004-09-16

            silly me. Didn't set the association for .class-files to jadclipse.

            works now

             
    • Robert Patrick

      Robert Patrick - 2004-10-27

      I had the same problem as Franck Schmidlin (schmidlinf). If I first get a stack trace in the console and use it as a hyperlink to a class I don't have source for then it decompiles successfully. It then continues to decompile successfullt if I then double click on class files....

      Ever since I did that it worked fine!

       
      • Franck Schmidlin

        I got to the point that it sometime work and sometime doesn't.

        When it does work, it is wonderfull and seamless.
        I've had it working on stack trace, on .class files, and when drilling down class hierarchies and method calls.

        When it doesn't work, there is no way to even know if JadEclipse was called :-(

         
    • jinyu

      jinyu - 2004-11-01

      I want to know what's wrong,
      It doesn't work After I press F3 in Eclipse 3.0RC3
      Version: 3.0.0
      Build id: 200406192000
      Here is the screen:

      /*jadclipse*/Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov (kpdus@yahoo.com).
      Usage:    jad [option(s)] <filename(s)>
      Options: -a       - generate JVM instructions as comments (annotate)
               -af      - output fully qualified names when annotating
               -b       - generate redundant braces (braces)
               -clear   - clear all prefixes, including the default ones
               -d <dir> - directory for output files
               -dead    - try to decompile dead parts of code (if there are any)
               -dis     - disassembler only (disassembler)
               -f       - generate fully qualified names (fullnames)
               -ff      - output fields before methods (fieldsfirst)
               -i       - print default initializers for fields (definits)
               -l<num>  - split strings into pieces of max <num> chars (splitstr)
               -lnc     - output original line numbers as comments (lnc)
               -nl      - split strings on newline characters (splitstr)
               -noconv  - don't convert Java identifiers into valid ones (noconv)
               -nocast  - don't generate auxiliary casts
               -nocode  - don't generate the source code for methods
               -noctor  - suppress the empty constructors
               -nodos   - turn off check for class files written in DOS mode
               -noinner - turn off the support of inner classes
               -nolvt   - ignore Local Variable Table entries (nolvt)
               -nonlb   - don't insert a newline before opening brace (nonlb)
               -o       - overwrite output files without confirmation
               -p       - send all output to STDOUT (for piping)
               -pa <pfx>- prefix for all packages in generated source files
               -pc <pfx>- prefix for classes with numerical names (default: _cls)
               -pe <pfx>- prefix for unused exception names (default: _ex)
               -pf <pfx>- prefix for fields with numerical names (default: _fld)
               -pi<num> - pack imports into one line using .* (packimports)
               -pl <pfx>- prefix for locals with numerical names (default: _lcl)
               -pm <pfx>- prefix for methods with numerical names (default: _mth)
               -pp <pfx>- prefix for method parms with numerical names (default:_prm)
               -pv<num> - pack fields with the same types into one line (packfields)
               -r       - restore package directory structure
               -s <ext> - output file extension (default: .jad)
               -space   - output space between keyword (if, while, etc) and expression
               -stat    - show the total number of processed classes/methods/fields
               -t<num>  - use <num> spaces for indentation (default: 4)
               -t       - use tabs instead of spaces for indentation
               -v       - show method names while decompiling

      /***** DECOMPILATION REPORT *****

          DECOMPILED FROM: E:\catalog\project\interactive\dev\lib\app\hibernate2.jar

          TOTAL TIME: 32 ms

          JAD REPORTED MESSAGES/ERRORS:

          EXIT STATUS:    1

          CAUGHT EXCEPTIONS:

      ********************************/

       
      • jkingfrt

        jkingfrt - 2004-11-14

        I had this problem as well until I downloaded the latest version of Jad (1.5.8).

        Works great now with Eclipse 3.0.0

        j.

         
    • ksoni

      ksoni - 2006-07-28

      IBM tooling RAD 6 / WID 6 uses eclipse 3.0.2
      what should I do to make jadclipse work with it?

       

Log in to post a comment.

MongoDB Logo MongoDB