Java – how to protect jar files from decompilation?
•
Java
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
二维码