How to get .java file from .class file?
Some of us having question like. "Is it possible to get .java file from .class file?" , "Extract real code from .class file?".
Hello folks i wondered that this is possible to get .java (file real source code) from .class file. I don't know about this thing, on facebook MJVM club one of our Java lover asked this question. Join us on facebook for more java based question answer.
This is very bad thing about java i came through about this. Now i'll show you how to do this thing.
Download the software from below links.
- http://members.fortunecity.com/neshkov/dj.html this is trial version but nice GUI tool.
- http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/JAD.shtml----try this is command based tool. Donwload the .exe file and put it in C:\program files\....\....\jdk..\bin\ folder.
- http://java.decompiler.free.fr/ It helps to to look in .jar file quickly with respective packages as well.
The first tool is easy to use. Second tool is command based so once you have copied file to bin folder of jdk.
command to extract the .java file is
jad -sjava filename.class"
0 comments :