It will provide a good enough stab at the original. It's nothing nearly as bad as disassembly.
But yeah, there's a Java decompiler called mocha that decompiles bytecode. You can also use GUIs like Eclipse or FrontEnd Plus to decompile it.
Mocha makes me wonder whether there were any noble intentions at all in Sun making Java open-source :P
why would you wonder?
You have the source to the Java class libraries already. In fact they've always been shipped with the JDK...
The sole reason to "open source" Java when it already was (the source has always been available for study and for several years now there's been a system where you could submit bugfixes as well, which is essentially what any open source project is in reality) was politics, trying to get the Linux zealots to ship Java with their distributions.
> It will provide a good enough stab at the original.
> It's nothing nearly as bad as disassembly.
>
> But yeah, there's a Java decompiler called mocha that
> decompiles bytecode. You can also use GUIs like
> Eclipse or FrontEnd Plus to decompile it.
>
> Mocha makes me wonder whether there were any noble
> intentions at all in Sun making Java open-source :P
Yes, thanks.
I was able to get JAD to decompile my jar.