Does anyone know some free AOT Java compiler? I have found just one - http://gcc.gnu.org/java/.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
https://www.excelsiorjet.com/
As of now, it fully supports Java SE 8 and the Standard Edition is free (but only supports 32-bit Windows and Linux.)
回答2:
GCJ , as you've already noted, is probably your best option. If you're looking for something that runs on Windows you'll need to setup a Cygwin or MinGW environment that runs the GCC.
JNC is an old one that may still work, it was built for Java 1.5 and is based on the GCC.
回答3:
Not sure how finished it is, but this project uses LLVM and can AOT compile Java and .NET
http://vmkit.llvm.org/