aspose file tools*
The moose likes Beginning Java and the fly likes Jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jar files" Watch "Jar files" New topic
Author

Jar files

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
How to convert jar into class files and then to Java files

Thanks,
Angela
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
A jar file is similar to a zip file where it holds other files so what you have to do is extract the .classs files from the jar
then decompile them into .java files
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Which command or tool I should use to extract .class files from jar file.
Thanks
Angela
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

WinZip or any other un-zipping program works fine...

You can also use the jar command, but it is much more difficult...

-Nathan


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Thanks to all.
I extracted class files from jar file. Now I have one decompiler tool called jad. But I don't trust enough in this tool. do you know best way to decompile class files into java files.
Thanks
angela
 
wood burning stoves
 
subject: Jar files