Java – how to protect jar files from decompilation?

There is already an answer to this question: > what can do to secure jar files beside obfuscation? 3

Solution

Because Java retains most of the metadata during compilation (allowing dynamic loading and reflection), it directly decompiles (not only disassembles) the compiled class files This is why the recovered code is very similar to the original code

Although not perfect, you may only use obfuscators, such as Proguard

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>