将java编译成本机代码? [英] Compiling java into native code?

查看:233
本文介绍了将java编译成本机代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到一个java编译器,我可以使用它来编译我的java代码到不同操作系统的本地二进制文件。我听说过GNU Compiler for Java,但我似乎找不到一个下载,我认为它已经死了。有没有任何好的最新的编译器,我可以用来将java代码编译成一个.exe和一个.app或任何东西,或者你可以告诉我如何获得GNU编译器Java。

I'm trying to find a java compiler that I can use to compile my java code into native binaries on different operating systems. I have heard of the GNU Compiler for Java but I can't seem to find a download for that and I think it's dead anyway. Are there any good up-to-date compilers out there that I can use to compile java code into a .exe and a .app or anything or can you tell me how to get the GNU Compiler for Java.

推荐答案

有关Java的GNU编译器可以在 http://gcc.gnu.org/install/binaries.html

GNU Compiler for the Java can be found at http://gcc.gnu.org/install/binaries.html

您可以尝试下列工具:

  • JET: http://www.excelsior-usa.com/jet.html
  • Exe4j: http://www.ej-technologies.com/products/exe4j/overview.html

这篇关于将java编译成本机代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆