截至 2010 年 10 月,GNU 的 Java 编译器已经死了吗?是否有任何有效的替代方案(尤其是将 Java 编译为本机代码)?
LLVM 解决方案将是首选。
A more pertinent question would be whether it was ever really alive. Consider these issues, from its own website:
java.nio.
javax.naming
('complete but no providers').javax.sql.
java.text.
java.security
is 'unknown'.java.lang.reflect.
java.util.
javax.xml.*
(recursively) is missing.org.omg.CORBA.
org.w3c.
And note that it isn't billed as a 'Java compiler'. It is a compiler for a subset of Java known as GNU CLASSPATH. Which in turn hasn't been updated since Feb 2009.
If it isn't dead it is certainly lying down.
EDIT It's dead. GCJ is no longer listed as a GNU package. And after four years of zero activity we are entitled to assume the same about GNU CLASSPATH.
将 Java 编译为本机的一种替代方法是Excelsior JET。
我不认为它已经死了。它只有几个重要的。从而导致发展缓慢。有 3 个事实,因为它今天只有几个重要的: