Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to obfuscate Java code quickly?
    primarykey
    data
    text
    <p>How to obfuscate code quickly. I have a very small <b>Java App</b> and I want to deliver the obfuscated code to my client. I have heard a lot about <a href="http://proguard.sourceforge.net/" rel="noreferrer"><b>ProGuard</b></a> to obfuscate code and have downloaded it but doesn't know how to obfuscate my "abc.jar" file.</p> <p>I checked out its website but it contains a lot of material to read. I don't need heavy obfuscation. I just need a obfuscate that simply changes the name of variables, methods and classes to some unreadable ones. I know ProGuard provide all of this with a ton of other functionalities too.</p> <p><b>Q1.</b> So could anyone tell me please some simple obfuscators or some simple steps to use proguard so that I can just input "abc.jar" and it outputs "obfuscate_abc.jar" or something simple like that.</p> <p><b>Q2.</b> One more thing, as my Java program uses external libraries, so should I need to obfuscate those libraries too?</p> <p><b>Q3.</b> Is there any Eclipse or NetBeans plugin availabe to this obfuscation?</p> <p>I have also heard that we should retain the mapping table file with us so that in future we can debug or edit that obfuscated code by first de-obfuscating with the help of that mapping-table which was created at the time of obfuscation.</p> <p><b>Q4.</b> So, one more question is Why do we need to keep that mapping-table with us? We can simply retain a copy of un-obfuscated application so as to make changes in that (if required in future). Is there any reason to retain that mapping-table file with us?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload