• Post Reply Bookmark Topic Watch Topic
  • New Topic

decompiler for java  RSS feed

 
dobi dobriyal
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frns...
well i don't know which forum is suitable so iam chosing my fav one
i want to know the decompiler for java
herad its virtually impossible to hide java codes
i have a .class file
i tried javap shipped with jdk but it was a misery 2 c wat it produced
so before i wasted my interneet resources i thought y not ask experts..
am using jdk1.4.2 and mdk9.2
reagrds,
dobi
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by dobi dobriyal:
hi frns...
well i don't know which forum is suitable so iam chosing my fav one
i want to know the decompiler for java
herad its virtually impossible to hide java codes
i have a .class file
i tried javap shipped with jdk but it was a misery 2 c wat it produced

Decompiler is the one which does reverse engineering i.e. convert .class code to source code.
There are lots of freely available decompiler on internet.
Every problem has a solution.So there is a solution for preventing decompiling too called 'obfuscating' and for that 'Obfuscator" are exist.
Though decompiler is serious threat to protect java source code, for me is useful tool for 2 purpose,
1> You can study java code for which you have only access to .class files.
2> Decompiled file is well formated.
-- In my work sometimes i use to decompile my own .class file in
order to get formatted source file.That looks funny but believe me
many times i use this approach to just get well formatted java
source file.
 
guowei zhang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this reminds me i need try it hard to obfusticate my code;-),
there are many reasons to decompile java class files, but
i believe most of the effors is not to format the file,
currently one of tool i use is yguard,which is pretty good,
what i am trying to say is, even though you can decompile
java classes, but a good obfusticator will make the
decompiled code useless or even impossible to decompile.
as part of my working experience, i do both decompile
and obfustication of java classes, somestimes the source
code is not there , for example, sun's audio device code
is compiled classes, and if you want to fix some of the
bug it contains, you have to decompile it and fix the bug,
and then compile it into the application, then do
obfustication, is it that interesting???
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Java in General (Advanced)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!