I’m sure this has been discussed and asked and answered and so on, but I still am not sure. What’s the best way to distribute a java game to best resemble a standalone application?
- Distribute as a normal jar file. Obviously, this makes your code easy to read, hack, steal, etc.
- Obfuscation. This seems to be a popular choice, but it also seems to be able to be thwarted.
- I’ve heard of compiling java to native code, but I’m not really sure how that works.
What are the pros and cons to each of these methods, and are there any others that I’m missing? Thanks in advance.