how to convert a jar/war file of .class files to a folder containing .java files
Joined: Jul 10, 2006
Hi, I want to know how to convert a archive file[jar /war /ear] containing .class files to a folder whivh will contain only .java files ,i want to save this converted file in my pc . is there any tool which is capable to do this. let i explain my problem clearly : suppose i compiled some .java files in a directory using javac as : > javac -d classes src\*.java after exectuing this i will get all my .class files in the classes directory,
Now i want to convert this .classes files to .java files and save them in my system, please dont suggest any java decompilers which will convert .class file and just edit the the the .java file using .class file, please suggest me any way to do this, that will do the following thing >JJJJ -d src classes\*.class which is just reverse to the functionality of javacompiler. plese reply if u know abt it. waiting 4 ur reply, bye, thanks in advance.......
thanks 4 ur reply, but i know there are many java decompilers,which will just convert a .class file and edit that .class file's java code, but dont save java file in my pc, i want to convert a bulk amount of .classes files to .java files and save those .java files in my personal computer. please reply me any one, who knows about it.
author and iconoclast