How to convert .class to .java?

How to convert or achieve the program from .class file??

Questions by AmitPai   answers by AmitPai

Showing Answers 1 - 15 of 15 Answers

nareshv1

  • Jun 17th, 2008
 

Using jadclipse pluging installed in ur IDE,u can view the class files like java files, but u will not be able to edit.

To make a class file into java file in editable format, get the jad.exe file
in crompt prompt, goto the file location, keep the jad.exe where the class file is present and run the command

jad <Filename>.class
The output will be filaname.jad, u can rename them as java file and use it again

The jad doesnt bring the comments and import statements which were there in the class file

  Was this answer useful?  Yes

chandusek

  • Jul 8th, 2010
 

Add NBJAD plugin in your NetBeans IDE

You can select the class what ever you want from the Project and click on "Decompile" in the View Menu.

  Was this answer useful?  Yes

geek_ani

  • Feb 1st, 2011
 

You can view your .jar or .class files using a Java decompilor. Download the Java decompiler and use it to view these files.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions