• Post Reply Bookmark Topic Watch Topic
  • New Topic

Protect .class file not to decompile it  RSS feed

 
shan raj
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have set of .class files in jar file. I want to protect these class files not to decompile it when am releasing in net or third party. But the same jar should be work properly in JDK environment.

Kindly provide any suggestions to do this?

Thanks in Advance
Shan
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know you can't physically prevent de-compiling, you have to obfuscate your code, if you google you will find several options for this.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!