问题
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/
来源:https://stackoverflow.com/questions/4019724/free-aot-java-compiler