Domanda

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

Nessuna soluzione corretta

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top