Question

how to prevent java code from being decompiled? Suggest any link or suggestions to do so

Pas de solution correcte

Autres conseils

I don' think you can.

Here is another question, which covers this topic:

make your Jar not to be decompiled

A better bet might be obfuscation. It scrambles all names in the source code, so that it becomes unreadable even if it is still compilable.

If I am not wrong you are talking about Java obfuscation which makes your code difficult (but not impossible) to decompile. You can check some open source obfuscation tools from here. One of the obfuscation tool that I personally like is ProGuard.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top