This week's book giveaway is in the
We're giving away four copies of
Node.js in Action
and have Mike Cantelon, Marc Harter, T.J. Holowaychuk and Nathan Rajlich on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
How Can I reverse - Engineer a .class file to a .java file?
Joined: May 10, 2005
May 11, 2005 07:40:00
I would like to take an existing .jar file and revert it back to its original state to view the code in the .java files.
1. How do I unjar a .jar file?
2. How do I get a compiled file (.class) back to a .java file?
Marco Davids II
Joined: Nov 02, 2004
May 11, 2005 07:58:00
there is a quite a number of decompilers for
just google for Java decompiler
a jar file is just a compressed file which can be decompressed using Winzip or any other similar software
Hope that helps
Joined: Jun 08, 2005
Jun 08, 2005 12:57:00
Todd- please call me... I can't find your number.
Joined: Nov 05, 2003
Jun 08, 2005 16:07:00
Jad is supposed to be a good decompiler....pretty straight-forward as well.
"In theory, there is no difference between theory and practice. But, in practice, there is."<br /> - Jan L.A. van de Snepscheut
Joined: May 14, 2003
Jun 08, 2005 16:31:00
Under Windows, you should be able to open a JAR file using WinZip. I usually associate the .JAR extension to WinZip.
Or at the command line (assuming you have your JRE bin in your path):
jar xvf file.jar
Enter "jar" to see the full list of options.
Modern C++ Programming with TDD
, Essential Java Style,
Agile in a Flash
subject: How Can I reverse - Engineer a .class file to a .java file?
about java decompiler
running a class in a jar ......
Accessing contents of a jar file
why are JAR files created
Compiling and jaring up a .java file from code
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014