Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

read class file

Status
Not open for further replies.

yytan

Programmer
May 8, 2002
113
MY
hi there;

i am curious whether is there anyway to read java class file?

i mean revert the class to the source file?
 
It is possible to decompile the .class file from byte code. Type in "Java Decompiler" in Google.

But be warned - if caught decompiling proprietory software, there could be legal complications !
 
If you are going for a decompiler, I'd recommend jad. I used it couple of years back. I recall that it had plenty of command-line options and is very efficient too. In addition to legal restrictions, you may encouter other irritants such as obfuscators. Obfuscators juggle up the class file so badly that the source you obtain by de-compiling is hardly readable. Good luck with your de-compiling!

Ganesh
 
hi guys;

i am glad to receive the feedback, and i am now trying out the ways u suggested.

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top