How to convert java .class file back to .java file
ph-91-44-5551594
Val Dra
Ranch Hand
Joined: Jan 26, 2001
Posts: 439
posted
0
go to your jdk direcotry there is a file located called javap.exe run that file and supply a class file which you want to convert back to the source file. It should do a trick.
Val SCJP <BR>going for SCJD
Randall Twede
Ranch Hand
Joined: Oct 21, 2000
Posts: 4089
posted
0
Really Val Dra? I heard it was easy but I didnt know it was that easy! A correction. the file is in the /bin subdirectory. [This message has been edited by Randall Twede (edited February 02, 2001).]
SCJP
Val Dra
Ranch Hand
Joined: Jan 26, 2001
Posts: 439
posted
0
Depending on a contion you supply as an argument you get a list of what you want.
Pravin Panicker
Ranch Hand
Joined: Oct 05, 2000
Posts: 62
posted
0
Well javap does not give your complete java file back only method declarations . For your complete code you can download srcagain an exe and run it passing the class file name .Redirect the output to a file and you get your java file back! url : http://www.sourceagain.com