"undecompilable" source code in java

Possible duplicate:
Jar executable that cannot be decompiled

How can I create an "unmanaged" source in java? I have a firmware application that has code that I need to hide Is this possible?

Thank you in advance

+1
source share
5 answers

You can not. See this question:
make your jar not decompiled

Interesting book on the topic:
http://apress.com/book/view/9781590592656

+2
source

You cannot make the code incompatible, you can only confuse it:

http://en.wikipedia.org/wiki/Obfuscated_code

+2
source

In short. You can confuse your code to make it difficult to read and reuse. If this is what you want, it can also make it difficult for someone to see what he is doing. But not impossible.

+1
source

You can try obfuscation, but no one wants to steal your sauce code anyway, so I think it's more for peace of mind. When it comes to this, everything is decompiled to some extent, otherwise operating systems will not be able to run any programs!

0
source

If you want your users to actually, you know, use the program, they should be able to run the program. To be able to run a program, the CPU must be able to understand the program. Processors are much dumber than people, so this means that people can also understand the program.

If you confuse your program in such a way that people do not understand it, it also means that it cannot be executed.

If you do not want people to access your code, there is only one way: do not give them to them. Put it on the server and let your users connect to it through the network.

But all this is completely unnecessary, since your code is automatically protected by copyright law in any case, which is much more powerful than any obfuscation.

-3
source

Source: https://habr.com/ru/post/1384251/


All Articles