Fwd: gcj can not import packages

Ricardo Wurmus rekado@elephly.net
Mon Jan 16 20:10:00 GMT 2017


Bill Chatfield via java <java@gcc.gnu.org> writes:
> I understand that OpenJDK is available as open source now, to
> "replace" gcj. But, gcj still has certain advantages that OpenJDK does
> not have:
>> 1. gcj can compile to a native executable. […]
>> 2 gij is more memory efficient than OpenJDK at runtime. […]
>> 3. OpenJDK only supports a few platforms. […]

I would like to add one point: GCJ can be used to cleanly bootstrap the
OpenJDK from source with a chain that starts with GCC’s C compiler, to
GCJ, to OpenJDK 6 (via IcedTea).
(The only wart is that later versions of GCJ rely on a pre-built jar of
ecj.)
This is why the bootstrappable builds project lists “Maintaining the GNU
Compiler for Java” as a collaboration project.[1]
[1]: http://bootstrappable.org/projects.html
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /