Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Does anyone know how to decompile class built in using jdk1.4.2?

Thread view: 
Andrew - 04 Sep 2007 13:19 GMT
I had tried to decompile using JAD or DJ Java decompiler. But I could
not obtain full source.
Please let me know excellent way how to decompile completely!!

Thanks in advance.
Regards.

-Andrew
david.karr - 04 Sep 2007 18:19 GMT
> I had tried to decompile using JAD or DJ Java decompiler. But I could
> not obtain full source.
[quoted text clipped - 4 lines]
>
> -Andrew

It's not possible.  The process of decompiling only translates from
the data in the class file, which doesn't retain many aspects that are
present in the original source file.
Joshua Cranmer - 04 Sep 2007 22:13 GMT
> I had tried to decompile using JAD or DJ Java decompiler. But I could
> not obtain full source.
[quoted text clipped - 4 lines]
>
> -Andrew

This is impossible unless you know how to read minds. The process of
compiling Java code -- or indeed, any code -- includes a part which
strips out comments. Automatically, that makes full-source-reproduction
impossible.

Signature

Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth

Roedy Green - 05 Sep 2007 05:01 GMT
>I had tried to decompile using JAD or DJ Java decompiler. But I could
>not obtain full source.
>Please let me know excellent way how to decompile completely!!

You will won't get a perfect decompile, but you can get a perfect
disassembly.

See http://mindprod.com/jgloss/decompiler.html
http://mindprod.com/jgloss/disassembler.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.