Results 1 to 5 of 5
  1. #1
    JL4
    JL4 is offline Member
    Join Date
    Nov 2008
    Posts
    10
    Rep Power
    0

    Unhappy Decompling class files

    Hi

    I recently lost my project's source files but I have the class files from unzipping the jar file. I was wondering does anyone know how to decompile the class files to get the java files?

    Edit: The javap says: ERROR:Could not find <name>.class
    But the files does exist.

    Any ideas?

    Thanks.
    Last edited by JL4; 09-05-2009 at 06:21 PM.

  2. #2
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

    Default

    Did you try Googling for 'Java decompiler' ?

    I use JAD, it works OK.

  3. #3
    JL4
    JL4 is offline Member
    Join Date
    Nov 2008
    Posts
    10
    Rep Power
    0

    Default

    After some googling I got cavaj and got it sorted lol. Some changes needed to be made to the java files but sorted lol.


    Thanks though.

  4. #4
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    I also use JAD, and have had good luck with it.

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. importing class files
    By bizso in forum New To Java
    Replies: 6
    Last Post: 03-28-2009, 03:11 PM
  2. multiple class files
    By nemesys571 in forum Eclipse
    Replies: 0
    Last Post: 06-26-2008, 02:58 AM
  3. conversion of java .class files to .java files
    By kotturupraveen in forum New To Java
    Replies: 2
    Last Post: 06-09-2008, 01:58 PM
  4. how to see the code of class files
    By mary in forum Advanced Java
    Replies: 1
    Last Post: 08-02-2007, 02:52 PM
  5. 'class' and 'jar' files
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 06-29-2007, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •