473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Java Decompilers

Nepomuk
3,112 Expert 2GB
Hi everyone!
I was wondering, how many of you have used a Java Decompiler so far and what experiences did you make?

I've used the DJ Java Decompiler 3.9 (which uses JAD) a bit lately and found it very useful. However it costs 20$ and I wasn't planning to spend any money on it (especially as I'm not planning to send any money internationally).

I haven't tried JAD by it's self yet, can anyone share their experiences?

The same goes for Mocha. Anyone know it?

I've found a list of decompilers on http://www.program-transformation.or...avaDecompilers and a test on http://www.javaworld.com/javaworld/j...compilers.html, but I'd like to hear your opinions on the various Decompilers.

Also, does anyone know, if (or in which circumstances) decompiling a Library, which you found online (e.g. from apache) is legal? (Of course without stealing the code, just for learning.)

Greetings,
Nepomuk
Sep 6 '07 #1
3 2703
r035198x
13,262 8TB
Hi everyone!
I was wondering, how many of you have used a Java Decompiler so far and what experiences did you make?

I've used the DJ Java Decompiler 3.9 (which uses JAD) a bit lately and found it very useful. However it costs 20$ and I wasn't planning to spend any money on it (especially as I'm not planning to send any money internationally).

I haven't tried JAD by it's self yet, can anyone share their experiences?

The same goes for Mocha. Anyone know it?

I've found a list of decompilers on http://www.program-transformation.or...avaDecompilers and a test on http://www.javaworld.com/javaworld/j...compilers.html, but I'd like to hear your opinions on the various Decompilers.

Also, does anyone know, if (or in which circumstances) decompiling a Library, which you found online (e.g. from apache) is legal? (Of course without stealing the code, just for learning.)

Greetings,
Nepomuk
I've only used cavaj a long time ago when I was trying to see how people decompile other people's code.
I don't use any decompilers any more. I'd say if someone wanted you to see the source code, they'd give you the source code itself along with the jars or classes so I don't decompile other people's code.
Sep 6 '07 #2
Nepomuk
3,112 Expert 2GB
I've only used cavaj a long time ago when I was trying to see how people decompile other people's code.
I don't use any decompilers any more. I'd say if someone wanted you to see the source code, they'd give you the source code itself along with the jars or classes so I don't decompile other people's code.
Hm, cavaj seems to use JAD too. But this one is freeware, which is certainly a plus.

By the way, I don't use them often, as I think too, that you shouldn't access other peoples code without their permission if not really necessary. But sometimes, when I'm doing something completely new and just can't think of a solution AND know where I can find one that works, I can have a look at it, understand it and hopefully write something that will work afterwards.

To that extent, this has happened twice since I've started programming in Java (about 4 years ago). So I guess, that can be considered OK.

Anyone else with experience in decompiling?

Greetings,
Nepomuk
Sep 6 '07 #3
ivmai
1
IMHO, the best java decompiler is Jad (v1.5.8g) at this moment. Unfortunately, it's no longer maintained by the author. To improve the quality of decompiled code (or decompile Java 1.5+ classes), there's a helper tool - JadRetro. (The classes to be decompiled, first processed with JadRetro, and, then, decompiled by Jad.)

Also, there's a good JD-GUI decompiler, which is still being developed (but at present, it can't replace Jad in most cases).
Dec 15 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Michael | last post by:
Hello I am trying to write a Java-Program which converts a XML-file in a HTML. It should take the Transformation-file from the XML-file itself. Below find a possible XML-file: <?xml...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
14
by: Mick | last post by:
I wrote a C# program that interfaces with a data vendor over the web using an API they supplied and their examples in C#. Now I have another data vendor's API and example that I want to add to...
4
by: Tolga Tanriverdi | last post by:
i saw something named obfuscator and its decompiling the source code of my program which written in c# and my program includes mysql root password inside of it is there anyway to protect my...
9
by: Dakkar | last post by:
i saw something named obfuscator and its decompiling the source code of my program which written in c# and my program includes mysql root password inside of it is there anyway to protect my...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
9
by: flamesrock | last post by:
Hi, Are there any good decompilers for python? -Thanks
0
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.