开发者

Protect Jar file source code with exe file (Java) [duplicate]

This question already has answers here: How can I convert my Java program to an .exe file? (16 answers) 开发者_开发百科 Closed 7 years ago.

How would I make a .JAR file open up when I make another file as .EXE?

I have tried many things, but they don't work.

I want this for another way to protect my source code. Kind of like what Minecraft does. You open a .EXE, and somehow the .EXE opens up the .JAR file.

Anyone have any ideas?


To convert to exe, I use JAR2EXE.

However obfuscating your code can deter people who want to access your code. But a determined person would still access it. You can use proguard to obfuscate your code.\

ProGuard


You want something like this:

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

You can access the MineCraft.jar but the code is obfuscated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜