View Christos Tranoris's profile on LinkedIn


Visit The Model Driven Software Network

Who's online

There are currently 0 users and 1 guest online.

Recent comments

Syndicate

Syndicate content

Reverse Engineering a Java class

Recently I had the need of "decompiling" some class files...! Well, I had used some time ago Jad, but it was time to integrate it with Eclipse.
 
I couldn't imagine how easy it is already. The only thing you need is jadclipse. Download the small jadclipse.jar and put it in your plugins directory.
 
Then restart eclipse and after opening check on Windows/Preferences that the *.class files are Associated with jadclipse.
 
Also don't forget under Java/JadClipse to enter the path of your jad.exe (if you don't have jad.exe in your PATH, you need to configure this explicit)
 
That's it! Now you can open you external jar library or some class files within your project with a double click on the *.class file!
 
This also is very useful while you are debugging, causing Eclipse to display you the correct source line of your external class.
 
Enjoy!
 
Probe further:
-Jad
-Eclipse
-JadClipse
And finally, for those that want to make troubles to "jadders" please Obfuscate your code!
 

Posted in Submitted by tranoris on November 30, 2007 - 02:48.



Anonymous | January 5, 2011 - 22:00

Today, I got my webservice program running with the help of your tutorial with in 8 minutes.
From, there I found link to this post.
I have a problem with JADCLIPSE. That, I am not able to debug the CODE generated by JADCIPSE.
Any pointers are greatly appreciated.
 
Regards,
Rits

Anonymous | November 30, 2007 - 10:55

Hey ChrisT, JAD is very nice tool, I've used it in the past and it's fun. Unfortunately some times you need to do a reverse hack in a very short period of time ;) I've been using mocha for several years: http://www.brouhaha.com/~eric/software/mocha/ Enjoy :-)