How Translate ByteCode to Machine Native Code

2019-04-24 10:02发布

I am looking for a translator for translate Java ByteCode to Machine Native Code before execution to improve performance.

I heard that OpenOffice is made with JAVA, but I can't see any jar file in his installation folder, therefore, maybe there is a translator but I can't find it.

Does anyone know some tool or comercial product to do that?

Thanks!

2条回答
神经病院院长
2楼-- · 2019-04-24 10:24

There are multiple solutions. All are not ideal.

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

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-04-24 10:33

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.

查看更多
登录 后发表回答