Convert class file to java file :Step by Step

1)Download JAD software from the following link.

http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/JAD.shtml

2)Extract files

3)You will get a new folder which is containing jad

application .(pic1)

Pic1

4)Make one .java file in the same folder.(pic2)

pic2

5)Run your .java file through the command promt.
if the name of file is Welcome.

c:\javac Welcome.java
c:\java Welcome

6)  A .class file will be created in the respective folder
7)Now copy this created “class file” and “jad application”.
And move to some other folder.
8)  Now type

c:\jad Welcome.class

9)A “.jad ” file will be created in the same folder.
10)Then write a command

c:\jad -sjava Welcome.class
11)A class will be created in the respective folder.(pic 3)

pic3

By using the above method ,we can retrive java file through class file.

Advertisements

2 comments on “Convert class file to java file :Step by Step

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s