473,785 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Decompilers

Nepomuk
3,112 Recognized Expert Specialist
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 2726
r035198x
13,262 MVP
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 Recognized Expert Specialist
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 New Member
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
4223
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 version="1.0" encoding="UTF-8"?> <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Michael Herren (private) -->
0
6815
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 the issue is. Thanks Ravi
14
7328
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 my C# program. But this new API is written in Java. They gave me an example source code that uses their API but the actual API looks like it is stored in a few .jar files. I unzipped those .jar files into many .class files. I think these .class...
4
1748
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 program against this decompilers. Thanks
9
1350
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 program against this decompilers. Thanks Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
1
9654
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 and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
9
1987
by: flamesrock | last post by:
Hi, Are there any good decompilers for python? -Thanks
0
3289
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
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10091
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.