Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to protect my source code?

 
Bruno Frascino
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to protect source code from decompilers?!
 
Chris Harris
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try zelix a tool that provides java obfuscation.
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. If the Java VM will run your code, it can be decompiled. Obfuscators can make the decompiled code hard to read, but AFAIK, there is not way to prevent decompiling.
Brian
 
norman richards
Author
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way to "protect" your code is to not distribute it and provide a service instead of a product.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic