Question:
can hello.class file decompile in hello.java?
vishwmitra
2007-02-02 10:10:19 UTC
we hava hello.java , than compile it by
javac hello.java
than we get the , hello.class
but my hello.java is lost , than
can i m decomplie hello.class to >>> hello.java
Four answers:
scruffy
2007-02-02 10:30:13 UTC
I'd be willing to bet that a class like Hello.java would be easier to recode. Sounds like you are just beginning. Don't bother with a decompiler - it will be more confusing for you than rewriting.
anonymous
2007-02-02 18:13:41 UTC
Yep - you need a decompiler - I recall using something called Mocha, I think. It's not perfect but it'll help. If the class has been obfuscated, though, the results'll be nearly useless.
kristo_abhi
2007-02-02 21:08:50 UTC
Yes, you can decompile your hello.class file to hello.java.

In fact you can decompile any .class file...



For details of decompilation process, go to :



http://en.wikipedia.org/wiki/Decompiler





Many decompilation tools are available in market...



However for your ease, you may try any one of these.



Installing and usage instructions are written there.



DJ :

http://members.fortunecity.com/neshkov/dj.html



CAVAJ :

http://www.bysoft.se/sureshot/cavaj/



JAD :

http://www.kpdus.com/jad.html



MOCHA :

http://www.brouhaha.com/~eric/software/mocha/





I personally feels JAD is best....



I have tried JAD and DJ.
?
2014-10-14 09:58:19 UTC
Can hello.class file decompile in hello.java?



we hava hello.java , than compile it by

javac hello.java

than we get the , hello.class

but my hello.java is lost , than

can i m decomplie hello.class to >>> hello.java


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...