GeekInterview.com
Series: Subject: Topic:
Question: 73 of 1115

How to convert .class to .java?

how to convert or achieve the program from .class file??
Asked by: AmitPai | Member Since Apr-2008 | Asked on: Apr 19th, 2008

View all questions by AmitPai   View all answers by AmitPai

Showing Answers 1 - 5 of 5 Answers
madhukar2sri

Answered On : May 20th, 2008

View all answers by madhukar2sri

look for Decompiler like DJ Java Decompiler

refer : http://dj-java-decompiler.en.softonic.com/

and it is not 100% done it does not show the imports.

  
Login to rate this answer.
nareshv1

Answered On : Jun 17th, 2008

View all answers by nareshv1

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 .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

  
Login to rate this answer.
chandusek

Answered On : Jul 8th, 2010

View all answers by chandusek

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.

  
Login to rate this answer.
iamnottechy

Answered On : Jan 27th, 2011

View all answers by iamnottechy

You can convert .java to .class file using JAD Decompiler.

  
Login to rate this answer.
geek_ani

Answered On : Feb 1st, 2011

View all answers by geek_ani

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

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.