質問

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

正しい解決策はありません

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top