For Programmers: Free Programming Magazines  


Home > Archive > Java Help > October 2004 > retreiving source code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author retreiving source code
Jean Paul

2004-10-28, 8:57 pm

Is it possible to somehow retreive the source code if you've got the byte code?
Alex Kizub

2004-10-29, 8:57 am



Jean Paul wrote:

> Is it possible to somehow retreive the source code if you've got the byte code?


http://www.kpdus.com/jad.html

Oscar kind

2004-10-29, 3:59 pm

Jean Paul <piggybing@lycos.nl> wrote:
> Is it possible to somehow retreive the source code if you've got the byte code?


Sometimes, using a decompiler. Alex posted a link in this thread.

Note however, that this is not guaranteed to work: there exist several
obfuscators that can mangle the Java bytecode in such a way that the
functionality remains, but automatic decompilation is not possible.

If you want to decompile such a program, manual decompilation is the only
thing that works. Rewriting it is probably cheaper in that case (that's
the intention anyway).

Luckily, such obfuscators are not / hardly used for open source projects:
if you can get the source anyway, obfuscating is pointless.


--
Oscar Kind http://home.hccnet.nl/okind/
Software Developer for contact information, see website

PGP Key fingerprint: 91F3 6C72 F465 5E98 C246 61D9 2C32 8E24 097B B4E2
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com