Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I convert .class files to .java files(source code)?

 
Sang-Wook Kim
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I found a nice applet on the web and I would like to
slightly modify its methods but the problem is that I
don't have the source code but only the .class file.
I heard somewhere that there is a tool that converts
.class files to .java files. Does anybody know about
this?
Sang-Wook
 
David Peterson
author
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at some of the tools indexed in Google under
"Decompilers and Disassemblers".
I have used Jad in the past, with good results, but the website seems to be down at the moment (due to excess bandwidth). With some hunting around using Google, you may be able to track down a mirror of the site.
Hope this helps.
David Peterson
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Jad site has seemed to be down for years now...
-j-
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DJ Java Decompiler is nice, available via download.com
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Langr:
The Jad site has seemed to be down for years now...

Are you thinking of Mocha? The link Mr. Peterson gives above works fine.
 
Sadanand Murthy
Ranch Hand
Posts: 382
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just keep in mind that there could be legal issues/ramifications with decompiling some one else's app and distributing it as your own after some modifications.
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
Are you thinking of Mocha? The link Mr. Peterson gives above works fine.

No, Jad. This link: http://kpdus.tripod.com/jad.html -- has not worked for aeons.
-J-
 
Sang-Wook Kim
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot to all of you who answered! It helped a lot!
Cheers
Sang-Wook
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Langr:

No, Jad. This link: http://kpdus.tripod.com/jad.html -- has not worked for aeons.
-J-

If I click on it, It goes immediately to the Jad site.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic