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

Securing My Application

 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

How could I secure my class files/jar files from de-compile.

Can any one tell me what is the procedure.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anand,
You can't. Any class file or jar that someone gets a copy of can be decompiled. You can use an obsfucator to make it harder for them to understand the decompiled code though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic