使用exe文件保护Jar文件源代码(Java) [英] Protect Jar file source code with exe file (Java)
问题描述
当我将另一个文件设为 .EXE
时,如何打开 .JAR
文件?
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.
我想用另一种方式来保护我源代码。有点像Minecraft的功能。你打开 .EXE
,不知怎的 .EXE
打开 .JAR
file。
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?
推荐答案
要转换为exe,我使用 JAR2EXE 。
To convert to exe, I use JAR2EXE.
但是,对代码进行模糊处理可能会阻止想要访问代码的人。但一个坚定的人仍然会访问它。您可以使用proguard来混淆代码。\
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.\
这篇关于使用exe文件保护Jar文件源代码(Java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!