0

I believe the title of my thread explains what I am trying to do... I have a .class file, I need to look at the code has generated the .class. is this possible, and if yes, can you tell me how?

5
Contributors
6
Replies
8
Views
6 Years
Discussion Span
Last Post by stultuske
1

You need to look for java decompiler, however be aware that you will not get exact code as you do see in java file

Edited by peter_budo: n/a

0

Not to mention that the *.class file is distributed so you don't see the code.
If you are trying to sell a product, do you want people looking at (and stealing) YOUR code?

0

that's correct hfx642, I thought of it too. (one would think) if the author wanted his code known, he'd distribute the code. however, I assure you this is something between friends, no business involved. the file in this case is a one-file applet, from long ago. so I guess you see it is not like I am trying to steal someone's code. I was given the file... the applet won't work though, so I want to open the code and try to fix it.

Edited by bibiki: n/a

0

There is a java decompiler available at: [snipped]
The first actually working analytical decompiler for Java and probably for a high-level programming language in general.

Edited by Ezzaral: Advertising/promotion is not permitted in the tech forums.

0

Atanas: something tells me you are just advertising this product. if you give this as answer on a current or active topic, no problem, but if you revive several old threads just to promote this decompiler, it seems a bit obvious to what you're doing.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.