java decoder?

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Feb 19 01:41:05 UTC 2008


On 2008-02-18 17:33, Gary Kline <kline at thought.org> wrote:
> Guys,
> I doubt this but is there anything that will take a foo.jar and turn in back
> into java?  Or at least assembler?

JAR files are usually ZIP archives [1], so you can extract them easily
with archivers/unzip or similar tools.

[1] But care must be taken to avoid `filename case folding', see [2]
[2] http://en.wikipedia.org/wiki/JAR_%28file_format%29

The tricky part is then to find a "Java decompiler".  I've used `Mocha'
in the past with limited success, but you should probably Google for
more options.

The homepage of `Mocha' is:  http://www.brouhaha.com/~eric/software/mocha/



More information about the freebsd-questions mailing list