How to obfuscate a java based project

2019-05-14 01:13发布

问题:

I have created a java based project using Netbeans as an IDE. Now I want to obfuscate my project. How can this be done?

回答1:

Here are steps to use Proguard to obfuscate in Netbeans: http://wiki.netbeans.org/DevFaqModuleObfuscation



回答2:

You need to use a source obfuscator.

I have used Zelix Klassmaster in the past and it is pretty good.



回答3:

I have used RetroGuard and i was really happy with it. The thing I really liked was the ability to use it from my build file, so that I could deploy the project directly obfuscated.



回答4:

Take a look at proguard - you can integrate it into ANT.



回答5:

you can use Proguard to obfuscate code.

Thanks Sunil