We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
有多种解决方案。一切都不理想。
请查看此处 (exe4j)。要了解更多信息,请阅读这篇文章。
There are multiple solutions. All are not ideal.
Take a look here (exe4j). To learn more read this article.
看一下 Avian JVM。请参阅我对这个问题的回复此处,了解如何嵌入它以及可以使用哪些类库来生成你的立场 -单独可执行。
如果您只需要托管语言/平台,也可以使用 .NET/Mono AOT。请参阅 Mono 2.x 中包含的 mkbundle 工具。
Give a look to Avian JVM. See my reply here to this question for pointers on how to embed it and what class libraries you can use to generate your stand-alone executable.
if you just need a managed language/platform, you can also use .NET/Mono AOT. See the mkbundle tool included with Mono 2.x.
请查看 https://www.graalvm.org/。
它可以从您的 jar 构建本机映像并将其作为二进制(本机代码)运行。
Please have a look into https://www.graalvm.org/.
It could build a native image from your jar and run it as binary (native code).