File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to retrive .java file from .class  file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to retrive .java file from .class  file " Watch "How to retrive .java file from .class  file " New topic
Author

How to retrive .java file from .class file

sachin pachpute
Ranch Hand

Joined: Aug 05, 2004
Posts: 35
Can anyone tell me how I can retrive java file from its class file?
[ August 05, 2004: Message edited by: sachin pachpute ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Search the web for Java Decompilers. Keep in mind that the acceptable use policy may not allow decompilation (ie it may be illegal to do it) and also there are tools called 'obfuscators' that alter class files with the aim of making them difficult if not impossible to decompile.

Dave
Afroz Ahmed
Ranch Hand

Joined: Jan 18, 2004
Posts: 64
Hello Sachin,

Here is the link for Cavaj,a decompiler for Java http://www.bysoft.se/sureshot/cavaj/


The value of an idea lies in the usage of it.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

There's one I've used called JAD that works quite well too.
 
I agree. Here's the link: jrebel
 
subject: How to retrive .java file from .class file
 
Similar Threads
How to generate Objects on the fly from DB?
How to access a photo in a data base from a frame
Struts
retrive serialize files data ERROR
how to retrive more than one match