如何将字节码转换为机器本机代码

发布于 2024-12-16 01:49:31 字数 1539 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

鸢与 2024-12-23 01:49:32

有多种解决方案。一切都不理想。

请查看此处 (exe4j)。要了解更多信息,请阅读这篇文章

There are multiple solutions. All are not ideal.

Take a look here (exe4j). To learn more read this article.

小傻瓜 2024-12-23 01:49:32

看一下 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.

作死小能手 2024-12-23 01:49:32

请查看 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文