How Translate ByteCode to Machine Native Code

浪子不回头ぞ 提交于 2019-12-09 16:08:09

问题


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!


回答1:


There are multiple solutions. All are not ideal.

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




回答2:


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://stackoverflow.com/questions/8167479/how-translate-bytecode-to-machine-native-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!