English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2007-02-02 05:10:19 · 4 answers · asked by vishwmitra 1 in Computers & Internet Programming & Design

some simple java program is named as simple.java
than compile we get
javac simple.java
than we get simple.class
okk ok

but Now i m need decompile simple.class to>>> simple.java

this can be happan , if any

2007-02-02 06:11:05 · update #1

4 answers

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.

2007-02-02 05:30:13 · answer #1 · answered by scruffy 5 · 0 0

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.

2007-02-02 13:13:41 · answer #2 · answered by Anonymous · 0 0

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.

2007-02-02 16:08:50 · answer #3 · answered by kristo_abhi 2 · 0 0

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

2014-10-14 05:58:19 · answer #4 · answered by ? 1 · 0 0

fedest.com, questions and answers